Rosetta Problems

Five, Five Everywhere

https://atcoder.jp/contests/abc096/tasks/abc096_d