Rosetta Problems

Three Consecutive

https://onlinejudge.u-aizu.ac.jp/problems/0785