Solve SRM 623 Div. I, Easy.