#include int main(void){ char s[21], *t = s; scanf("%s", s); while (*(++t)); while (t-- != s) putchar('<' + '>' - *t); putchar('\n'); return! "<>"; }