import unicode let S = stdin.readLine R = S.reversed for r in R: stdout.write(['<', '>'][int(r == '<')]) echo()