package main import . "fmt" func main() { for { var c rune Scanf("%c",&c) if c<'A'{ Println() return } if c <'a' { Print(string(c+'a'-'A')) } else { Print(string(c-'a'+'A')) } } }