alpha = str(eval(input()))

if alpha in "abcdefghijklmnopqrstuvwxyz":

    print("a")

else:

    print("A")
alpha = eval(input())

print(("a" if alpha.islower() else "A"))
alpha = str(eval(input()))
if alpha in "abcdefghijklmnopqrstuvwxyz":
    print("a")
else:
    print("A")

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

-alpha = str(eval(input())) -if alpha in "abcdefghijklmnopqrstuvwxyz": -    print("a") -else: -    print("A") +alpha = eval(input()) +print(("a" if alpha.islower() else "A"))