using System; public class Program { public static void Main() { string str = Console.ReadLine(); for (int i = 0; i < str.Length; i++) { Console.Write(str[str.Length - i - 1] == '<' ? '>' : '<'); } Console.WriteLine(); } }