using System; public class Test { public static void Main() { string str = ""; string x = Console.ReadLine(); int n = x.Length; for(int i = n - 1; i >= 0; i--) { if (x[i] == '<') str += '>'; else str += '<'; } Console.WriteLine(str); } }