Rosetta Problems

Beginner Free Contest 12 - DPD1

https://oj.vnoi.info/problem/fcb012_dpd1