srm 631 - div 2 - stupid mistake, fuck