package main import "fmt" //import "math" func main() { var s string fmt.Scan(&s) r := "" for i, v := range s { fmt.Println(v, int32(i+1)%int32(26), int32(v)-int32(64)-int32(i+1)%int32(26)) c := int32(v) - int32(64) - int32(i+1)%int32(26) c = c % int32(27) r = r + string(rune(c+int32(64))) } fmt.Println(r) }