Tough Cubs' Contest, Apr 2017

Toph’s bimonthly online programming contest for school and high school students, brought to you by Furqan Software, is back! As always, you can expect some relatively easy problems in this contest and 90 minutes to solve them all.

This is a companion discussion topic for the original entry at