#include <stdio.h>
#include<string.h>
#define M 100
int main()
{ char a[M],b[M],c[M],*p1,*p2,*p3;
p1=a,p2=b,p3=c; gets(p1);
while(*p1!=’\0’)
{ if(*p1>=‘0’&&*p1<=‘9’) *p2++=*p1;
else *p3++=*p1;
p1++; }
*p2=*p3=’\0’;
strcat(c,b);
puts©; return 0; }