[SRM612] LeftAndRightHandedDiv2 by Kaiyang Lv