[SRM624] CostOfDancing by Kaiyang Lv