#include<stdio.h>
void print(int n)//1234
{
if(n>9)
{
print(n/10);
}
printf("%d ",n%10);
}
int main()
{
unsigned int num = 0;
scanf("%d",&num);
print(num);
}
#include<stdio.h>
void print(int n)//1234
{
if(n>9)
{
print(n/10);
}
printf("%d ",n%10);
}
int main()
{
unsigned int num = 0;
scanf("%d",&num);
print(num);
}