using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string mirror = ""; for(int i=input.Length-1;0<=i;i--) { string temp = input.Substring(i, 1); if(temp == "<") { mirror = mirror + ">"; } else { mirror = mirror + "<"; } } Console.WriteLine(mirror); } } }