2016 SCU ACM ѡһ

C: easyproblem 2