SRM 316 Div2 L1 Iteration