#include #include main(){ char S[21]; scanf("%s",S); for(int i = strlen(S)-1;i >= 0;i--){ printf("%c",S[i]=='>'?'<':'>'); } printf("\n"); }