Rosetta Problems

Red and Green Apples

https://atcoder.jp/contests/abc160/tasks/abc160_e