Solve SRM 146DIV1 300 points.