main(){char s[21],c[21];gets(s);strcpy(c,s);int a=strlen(s);for(int i=0;i';else s[a-1-i]='<';}puts(s);}