[SRM583] SwappingDigits by Kaiyang Lv