# -*- coding: utf-8 -*- import string S = input() print(S.translate(str.maketrans('<>', '><')))