using System; using System.Linq; using System.Collections.Generic; class No400{ static void Main(){ var str=Console.ReadLine().Select(s=>((s=='<')?'>':'<')); str.Reverse(); Console.WriteLine(str); } }