package main import . "fmt" func main() { var s,t string Scan(&s) for _,c:=range s{ c='<'+'>'-c t=string(c)+t } Println(t) }