#include <iostream>
using namespace std;
int main() {
int x = 268670;
while (x > 0) {
int last_number = x % 10;
cout << last_number;
x /= 10;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgeCA9IDI2ODY3MDsKCXdoaWxlICh4ID4gMCkgewoJCWludCBsYXN0X251bWJlciA9IHggJSAxMDsKCQljb3V0IDw8IGxhc3RfbnVtYmVyOwoJCXggLz0gMTA7Cgl9CglyZXR1cm4gMDsKfQ==