Swapcase



Problem to swap the case in a given string.



Example-1:


Input    : s = "pYThoN"
Output   : PytHOn


Example-2:


Input    : s = "Blue"
Output   : bLUE  







Solution




s = "pYThoN"

a = s.swapcase()

print(a)



Output



PytHOn