UVA350 Pseudo-Random Numbers

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=5&page=show_problem&problem=286 [PDF](https://uva.onlinejudge.org/external/3/p350.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA350/868b647b8988c73487fd16c0ee0861e776cc6b31.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA350/7663970dfd95e26d977a44929a834f16fe74516f.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA350/faf08ce66bcd5c1af131619e0d4fcff941100f55.png)