print(*[["<",">"][i=="<"] for i in input()[::-1]])