#include #include #include #include using namespace std; typedef long long ll; int main() { int x; cin >> x; while(x > 0) { int cifra = x % 10; cout << cifra << " "; x /= 10; } return 0; } // 2 1 3 3