Rosetta Problems

Free Contest 74 - SEQUENCE

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