UVA11036 Eventually Periodic Sequence
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=22&page=show_problem&problem=1977
[PDF](https://uva.onlinejudge.org/external/110/p11036.pdf)

Input Format

Output Format
