Rosetta Problems

Different Distribution

https://atcoder.jp/contests/tenka1-2017-beginner/tasks/tenka1_2017_b