@admin I would like to bring to your attention that the problems in this contest were copied from different online judges.
As for this problem was copied from here. You can see even the sample inputs are similar… LOL…
Even this question was exactly similar as this one…