import strutils var S = stdin.readLine var w = "" for v in S: if v.ord < 'a'.ord: w.add(($v).toLowerAscii) else: w.add(($v).toUpperAscii) echo w