package main import ( "fmt" ) func main() { var str string fmt.Scanf("%s", &str) var rstr = []rune(str) for i:=len(rstr)-1; i>=0; i-- { fmt.Printf("%c", rstr[i]) } fmt.Println("") }