srm_582_div2_250 simple java