let str = readLine()! for i in str{ print(i.isUppercase ? i.lowercased() : i.uppercased(),terminator: "") } print()