def r(f):
if ord(f) in range(97,122):
print(chr(ord(f)-32))
r('f')
def f(r):
if ord(r) in range(65,91):
print(chr(ord(r)+32))
f('Z')
def r(f):
if ord(f) in range(97,122):
print(chr(ord(f)-32))
r('f')
def f(r):
if ord(r) in range(65,91):
print(chr(ord(r)+32))
f('Z')