Rosetta Problems

Free Contest 105 - COUNT2

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