srm 20 div1 A - easy,ad-hoc