Rosetta Problems

White and Blue

https://atcoder.jp/contests/cf17-relay-open/tasks/relay2_e