[SRM162] LCMRange by Kaiyang Lv