a = eval(input())

if a.isupper() == False:

  print('a')

else:

  print('A')
a = eval(input())

if a.islower() == True:

  print('a')

else:

  print('A')

a = eval(input())
if a.isupper() == False:
    print("a")
else:
    print("A")

a = eval(input())
if a.islower() == True:
    print("a")
else:
    print("A")

-if a.isupper() == False: +if a.islower() == True: