Rosetta Problems

农夫约翰合牛国

https://www.acwing.com/problem/content/3742