Solved SRM604 D2L1 problem