import Data.Char flipLetter c | isUpper c = toLower c | isLower c = toUpper c | otherwise = c main = interact $ map flipLetter