import std.stdio; import std.algorithm; import std.ascii; void main() { readln.map!(c => (c.isLower ? c.toUpper : c.toLower)).write; }