[SRM454] MinimalDifference by Kaiyang Lv