Rosetta Problems

Free Contest 96 - RATIONAL

https://oj.vnoi.info/problem/fc096_rational