Rosetta Problems

総和占い (Fortune Telling 2)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/359