package main import ( "bufio" "fmt" "os" ) func main() { scanner := bufio.NewScanner(os.Stdin) scanner.Scan() str := scanner.Text() for i := len(str) - 1; i >= 0; i-- { if str[i] == '<' { fmt.Printf("%c", '>') } else { fmt.Printf("%c", '<') } } fmt.Println("") }