using System; class Program { const char L_Arrow = '<'; const char R_Arrow = '>'; static void Main(string[] args) { var input = Console.ReadLine().ToCharArray(); for (int i=0; i