import java.util.*; class Question400 { public static void main(String[] str) { Scanner scan = new Scanner(System.in); StringBuilder strbl = new StringBuilder(); String s = scan.next(); for(int i=0; i"); else strbl.append("<"); } System.out.println(strbl.reverse()); } }