Problem:


Score : 100 points

Problem Statement

An uppercase or lowercase English letter \alpha will be given as input.
If \alpha is uppercase, print A; if it is lowercase, print a.

Constraints

\alpha is an uppercase (A - Z) or lowercase (a - z) English letter.

Input

Input is given from Standard Input in the following format:

α

Output

If \alpha is uppercase, print A; if it is lowercase, print a.

Sample Input 1

B

Sample Output 1

A

B is uppercase, so we should print A.

Sample Input 2

a

Sample Output 2

a

a is lowercase, so we should print a.



Sample input:
B


Sample output:
A

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log,gcd
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from operator import itemgetter
from fractions import gcd
mod = 10 ** 9 + 7
inf = float('inf')
ninf = -float('inf')

#Pythonを用いる場合
#numpy 1.18.0, scipy 1.4.1, scikit-learn 0.22, numba 0.47.0, networkx 2.4
 
import numpy as np
from scipy.sparse.csgraph import shortest_path, floyd_warshall, dijkstra, bellman_ford, johnson
from scipy.sparse import csr_matrix

 
#整数input
def ii(): return int(sys.stdin.readline().rstrip()) #int(input())
def mii(): return map(int,sys.stdin.readline().rstrip().split())
def limii(): return list(mii()) #list(map(int,input().split()))
def lin(n:int): return [ii() for _ in range(n)]
def llint(n: int): return [limii() for _ in range(n)]
#文字列input
def ss(): return sys.stdin.readline().rstrip() #input()
def mss(): return sys.stdin.readline().rstrip().split()
def limss(): return list(mss()) #list(input().split())
def lst(n:int): return [ss() for _ in range(n)]
def llstr(n: int): return [limss() for _ in range(n)]

#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？

a=ss()

if 65<= ord(a) <=90:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
s = input()

if s.isupper():
        print("A")
elif s.islower():
        print("a")

Submission status: Accepted

Solution code:
x = input()
if x.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
alpha = input()

if alpha.upper() == alpha:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
a = input().rstrip()
if a.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
j = a.islower() 

if j == True:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
data = input()
if data >= "a" and data <= "z":
    print("a")
elif data >= "A" and data <= "Z":
    print("A")

Submission status: Accepted

Solution code:
in_x = str(input())
h = in_x.islower()
if h == True:
    print("a")
elif h == False:
    print("A")

Submission status: Accepted

Solution code:
n = input()

if n > 'Z':
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
n=input()
if(ord(n)>=97 and ord(n)<=122):
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
a = input()

if a.islower() == True:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
a = input()

print("A" if a.isupper() else "a")

Submission status: Accepted

Solution code:
#171-A
#文字列中の英字が大文字か小文字かを判定：str型（文字列）のメソッドであるisupper()やislower()を使用
#isupper()は大文字、islower()は小文字を判定

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

Submission status: Accepted

Solution code:
a = input()
if a.isupper():
    print("A")
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()

if a.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
x = input()
if  ord('A')  <= ord(x)<=ord('Z'):
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
alpha = input()
if ord(alpha) >= 65 and ord(alpha) <= 90:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
a = input()

if a.isupper():
  print("A")
elif a.islower():
  print("a")

Submission status: Accepted

Solution code:
chr=input()
if chr.isupper():
    print("A")
else :
    print("a")

Submission status: Accepted

Solution code:
a=input()

if a in "qwertyuiopasdfghjklzxcvbnm":
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
a = input()

if a.isupper():
    print("A")
else:
    print('a')

Submission status: Accepted

Solution code:
x = input()
if x.isupper() == True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
def c172(x):
    x = int(x)
    return x + x**2 + x**3

def c171(x):
    if str.isupper(x): return 'A'
    else: return 'a'
    

if __name__=="__main__":
    input = input()
    print(c171(input))

Submission status: Accepted

Solution code:
a = input()
if a.islower():
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
x=str(input())
X=x.islower()
if X:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
import re
c = input()
if re.match("[A-Z]", c) :
  print("A")
else :
  print("a")

Submission status: Accepted

Solution code:
if input().islower():
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
if ord(input()) >= 97: print('a')
else: print('A')

Submission status: Accepted

Solution code:
A = input().islower()
if A:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
s=input()
if s.islower():
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
x=input()
alpha='abcdefghijklmnopqrstuvwxyz'

if x in alpha:
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
a = str(input())

if a.islower()==True:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:

s = input()
if s == s.lower():
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
n = ord(input())
print("A" if 65<=n<=90 else "a")

Submission status: Accepted

Solution code:
i=input()
if i.islower():
    print("a")
elif i.isupper():
    print("A")

Submission status: Accepted

Solution code:
a = input()

if 'a'<=a and a<='z':
  print('a')
else :
  print('A')

Submission status: Accepted

Solution code:
A = input()

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

Submission status: Accepted

Solution code:
print('A' if ord(input()) < 96 else 'a')

Submission status: Accepted

Solution code:
ch = input()
if(ch>='A' and ch <='Z'):
    print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
a=input()
b=a.upper()
if a==b:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
key = input()
A = [chr(i) for i in range(65, 65+26)]
a = [chr(i) for i in range(97, 97+26)]
if key in A:
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
import re

input_str = input()
if re.match(r'[A-Z]', input_str):
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
if ord("a") <= ord(a) <= ord("z"):
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:


def resolve():
    import sys
    input = sys.stdin.readline
    n = input().rstrip()
    if n.islower():
        print("a")
    else:
        print("A")



if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
def main():
    a=input()
    if(a.isupper()):
        print('A')
    else:
        print('a')

main()

Submission status: Accepted

Solution code:
a = input()
result = 'A' if a.isupper() else 'a'
print(result)

Submission status: Accepted

Solution code:
a=str(input())
if a.islower()==True:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
c = input()

if c.isupper():
    ans = 'A'
else:
    ans = 'a'

print(ans)

Submission status: Accepted

Solution code:
f=str(input())
if f.islower() == True:
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
s = input()
if s <= 'Z':
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
if(a.isupper() == True):
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
a = input()

if a.isupper():
  print("A")
else :
  print("a")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
name=str(input())
if name.islower():
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
x = str(input())
if ord(x) <= 90:
	print("A")
else:
	print("a")

Submission status: Accepted

Solution code:
alpha=input()
if str.isupper(alpha)==True:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
alpha = input()
print("A" if alpha.isupper() else "a")

Submission status: Accepted

Solution code:
α= str(input())
if α.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
a = input()

if a in "qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnm":
  print ("a")
  
else :
  print("A")

Submission status: Accepted

Solution code:
str = input()
if str.isupper():
    print("A")
elif str.islower():
    print("a")

Submission status: Accepted

Solution code:
a = input()
if a == a.upper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
st = input()
if(st.islower()):
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
a = input()

if a.isupper() == True:
	print("A")
else:
	print("a")

Submission status: Accepted

Solution code:
a = input()

if a == a.upper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
import re
if re.match(r'^[A-Z]$', input()):
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
from sys import stdin, stdout
read = stdin.readline
write = stdout.write
flush = stdout.flush
xr = xrange

def main():
	c = read().strip()
	if ord(c) - ord('A') <= 26: write('A\n')
	else: write('a\n')

if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    if s.islower():
        print('a')
    else:
        print('A')
resolve()

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    if s.lower()==s:
        print('a')
    else:
        print('A')
resolve()

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    alphabets=list(chr(ord('a')+i) for i in range(26))
    if s in alphabets:
        print('a')
    else:
        print('A')
resolve()

Submission status: Accepted

Solution code:
n=input()
if(n>='A' and n<='Z'):
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
if a.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
x=input()

if x.isupper()==True:
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a=input()

if a==a.upper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
char = str(input())
if char.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
s = input()
if ord(s) <= 0x5a:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
a=input()
if ord('a')<=ord(a)<=ord('z'):
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
x = input()
X = str.isupper(x)
if str.isupper(x):
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
alpha = input()

if alpha.isupper():
    print("A")
if alpha.islower():
    print("a")

Submission status: Accepted

Solution code:
char = input()

if(char.islower()):
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
a = input()
if a.isupper()==1:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
s = input()
if s == s.upper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
str_ = input()

if str_.isupper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
x = input()

if str(x).isupper() == True:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
b = input()
if b.isupper() == True:
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
if a.isupper()==True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
from string import ascii_lowercase, ascii_uppercase
print('a' if input() in ascii_lowercase else 'A')

Submission status: Accepted

Solution code:
import re

a = input()

if re.match(r'[A-Z]', a) is not None :
    print("A")

if re.match(r'[a-z]', a) is not None:
    print("a")

Submission status: Accepted

Solution code:
s=input()
print("A" if s.isupper() else "a")

Submission status: Accepted

Solution code:
a = input()
a_list = [chr(i) for i in range(97, 97+26)]

if a in a_list:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
a = input()
ans = "A" if a.upper() == a else "a"
print(ans)

Submission status: Accepted

Solution code:
c=input()
if(c.isupper()):
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
a = input()
 
if True == a.isupper():
  print("A")
else :
  print("a")

Submission status: Accepted

Solution code:
#!/usr/bin/python3

cmdvar_C=input()

if False == cmdvar_C.islower():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
c = str(input())

if c.islower():
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
a = input()
if "A"<=a<="Z":
    print("A")
elif "a"<=a<="z":
    print("a")

Submission status: Accepted

Solution code:
a = input()
if 'a' <= a and a <= 'z':
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
print("Aa"[ord(input())>95])

Submission status: Accepted

Solution code:
st = input()
print('a' if st.islower() else 'A')

Submission status: Accepted

Solution code:
alpha = input()
if alpha.upper() == alpha:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
# input
a = input()

# check
if a.isupper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
a = input()
if a.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
s=input()

if s.islower():
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
result = 'A' if input().rstrip().isupper() else 'a'

print(result)

Submission status: Accepted

Solution code:
[print("A") if input().isupper() else print("a")]

Submission status: Accepted

Solution code:
IN = input()
if IN.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
from sys import stdin
import re

alpha = stdin.readline().rstrip()

if alpha == alpha.upper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
import sys
def S(): return sys.stdin.readline().rstrip()
print('A' if S().isupper() else 'a')

Submission status: Accepted

Solution code:
alpha=input()
if alpha.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
a = str(input())
if str.isupper(a):
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
inp=input()
print('a' if inp.islower() else 'A')

Submission status: Accepted

Solution code:
def main():
    a=input()
    print("A" if a.isupper() else "a")
main()

Submission status: Accepted

Solution code:
w=input()
ans=w.isupper()# 大文字ならTrue
if ans == True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
x = input()

if x.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
import sys

input_data = []
input_pointer = 0

output_data = []

def input_scan():
    global input_data
    input_data = sys.stdin.readlines()
    input_data = [x[:-1] for x in input_data]

def next_line():
    global input_pointer
    global input_data
    if input_pointer < len(input_data):
        input_pointer += 1
        return input_data[input_pointer - 1]
    else:
        return ""

def append_output(string):
    global output_data
    output_data.append(string)

def print_output():
    global output_data
    output_data.append("")
    sys.stdout.write("\n".join(output_data))

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

Submission status: Accepted

Solution code:
N = str(input())
if N >= 'a':
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
from sys import stdin,stdout
LI=lambda:list(map(int,input().split()))
MAP=lambda:map(int,input().split())
IN=lambda:int(input())
S=lambda:input()
import math
from collections import Counter,defaultdict


if S().isupper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
n=input()
if ord(n)>=97 and ord(n)<=122:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
x = input()
if x.isupper():
	print("A")
else:
	print("a")

Submission status: Accepted

Solution code:
alpha = input()
if alpha.islower() == True:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
s=input()
a="abcdefghijklnmopqrstuvwxyz"
A="ABCDEFGHIJKLNMOPQRSTUVWXYZ"
if s in a:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
a = input()

if a.isupper() == True:
  print('A')
elif a.islower() == True:
  print('a')

Submission status: Accepted

Solution code:
a=input()
print("a" if a.islower() else "A")

Submission status: Accepted

Solution code:
alpha = input();
if alpha.isupper() :
    print('A');
else :
    print('a');

Submission status: Accepted

Solution code:
c = input()

if c == c.upper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
if a.isupper():
    answer = 'A'
else:
    answer = "a"
print(answer)

Submission status: Accepted

Solution code:
if input() in 'qwertyuiopasdfghjklzxcvbnm':
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
#create date: 2020-06-29 09:31

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    alpha = ns()
    print("A" if alpha.isupper() else "a")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys

a = sys.stdin.readline()

print("A" if a.upper() == a else "a")

Submission status: Accepted

Solution code:
an = input()
if an.isupper() == True:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
str = input()
print("a" if str.islower() else "A")

Submission status: Accepted

Solution code:
s = input()
print('A' if s.isupper() else 'a')

Submission status: Accepted

Solution code:
def solve(a):
    return "A" if "A" <= a <= "Z" else "a"

a = input()
print(solve(a))

Submission status: Accepted

Solution code:
alpha = input()
if alpha.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
alpha=input()
print('A' if alpha.isupper() else 'a')

Submission status: Accepted

Solution code:
α = input()
 
if α.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
α = input()

if α.isupper():
  	print('A')
else:
  	print('a')

Submission status: Accepted

Solution code:
s = str(input())

test = s.upper()
if s == test:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
al = input()

print("a" if (al.islower()) else "A")

Submission status: Accepted

Solution code:
letra = input()

if(letra.isupper()):
  print('A')
else: print('a')

Submission status: Accepted

Solution code:
word = input()
A = [chr(i) for i in range(65, 65+26)]
a = [chr(i) for i in range(97, 97+26)]
if A.count(word) == 1:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
import string

s = input()
if s in string.ascii_lowercase:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
text = input()

if(text.isupper()):
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
def resolve():
    x = input()
    print("a" if x.islower() else "A")

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
def A():
    s = input()
    if s.islower():
        print("a")
    else:
        print("A")
A()

Submission status: Accepted

Solution code:
alpha = str(input())
if alpha.isupper() == 1:
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
α = input()
if α in['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']:
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()

if a.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
S = input()

if S.upper() == S:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
a = input()
ar = 'abcdefghijklmnopqrstuvwxyz'
if a in ar:
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
alpha = str(input())

if alpha.isupper()==True:
	print('A')
else:
	print('a')

Submission status: Accepted

Solution code:
s = input()
if s.isupper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
mozi=input()
ju=mozi.islower()
ju2=mozi.isupper()
if ju==True:
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
alpha=input()
if ord(alpha)>=ord('A') and ord(alpha)<=ord('Z'):
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
ans = input().isupper()
if ans == True:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
#171
#A-alphabet

A = input()
if A.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
mod = int(1e9+7)
def add(a, b):
    c = a + b
    if c >= mod:
        c -= mod
    return c

def main():
    #A, B = [int(x) for x in raw_input().split()]
    ch = raw_input()
    
    if ch.isupper():
        print('A')
    else:
        print('a')
    

main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import io
import sys
import math

def main():
    s = input()
    
    ans = "A" if s.lower() != s else "a"
    print(ans)

### DEBUG I/O ###
_INPUT = """\
1
"""
_DEB = 0   # 1:ON / 0:OFF

def logd(str):
    """usage:
    if _DEB: logd(f"{str}")
    """
    if _DEB: print(f"[deb] {str}")

### MAIN ###
if __name__ == "__main__":
    if _DEB:
        sys.stdin = io.StringIO(_INPUT)
        print("!! Debug Mode !!")

    main()

Submission status: Accepted

Solution code:
print('A' if 'A' <= input() <= 'Z' else 'a')

Submission status: Accepted

Solution code:
# A - αlphabet
if input().islower():
	print('a')
else:
	print('A')

Submission status: Accepted

Solution code:
alpha=input()
if alpha.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
t = input()
if t.upper() == t:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
s=input()

if s.islower():
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
x = input()
if x.upper() == x:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
A = input()
if A.islower():
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
str = input()
if str.isupper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
a = input()
print("A" if a.upper()==a else "a")

Submission status: Accepted

Solution code:
import sys
print("A") if str.isupper(input()) else print("a")

Submission status: Accepted

Solution code:
alpha = str(input())
print('A') if alpha.isupper() else print('a')

Submission status: Accepted

Solution code:
import sys
import math
import collections
 
def set_debug(debug_mode=False):
    if debug_mode:
        fin = open('input.txt', 'r')
        sys.stdin = fin
 
 
def int_input():
    return list(map(int, input().split()))
 
 
if __name__ == '__main__':
    # set_debug(True)
 
    t = input()
    
    if 'A' <= t <= 'Z':
        print('A')
    else:
        print('a')

Submission status: Accepted

Solution code:
x = ["a","b","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]

if input() in x:
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
s = input()
for i in range(len(s)):
    if s.upper() == s:
        print("A")
    elif s.lower() == s:
        print("a")

Submission status: Accepted

Solution code:
c = input()
if c.islower():
    print ('a')
else:
    print ('A')

Submission status: Accepted

Solution code:
a=input()
s=ord(a)
s=int(s)
if 65<=s and s<=90:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
n = input()
if n.isupper() == True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
a = input()
print('A') if a<='Z' else print('a')

Submission status: Accepted

Solution code:
def main():
    alpha = input()
    if alpha.isupper():
        print('A')
    else:
        print('a')


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = input()

if 'a' <= s <= 'z':
    print('a')

else:
    print('A')

Submission status: Accepted

Solution code:
n = input()

if n.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a = input()
 
if a.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
line = input()

if line.islower():
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
a = input()
if a in "abcdefghijklmnopqrstuvwxyz":
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
word=input()
if word.islower():
  print("a")
else:
  print("A")

Submission status: Accepted

Solution code:
#i = list(map(str, input().split()))
i = input()
if i.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
input = input()

if (ord(input) >= 65 and ord(input) <= 90):
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
word = input()
if str.isupper(word) == True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
a=input()

if a==a.lower():
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
t=input()
if 65<=ord(t) and ord(t)<=90:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
ma = lambda :map(int,input().split())
ni = lambda:int(input())
import collections
import math
import itertools
gcd = math.gcd

a = input()

if ord(a) >= 97:
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
'''
    Auther: ghoshashis545 Ashis Ghosh
    College: jalpaiguri Govt Enggineering College

'''
from os import path
import sys
from functools import cmp_to_key as ctk
from collections import deque,defaultdict as dd 
from bisect import bisect,bisect_left,bisect_right,insort,insort_left,insort_right
from itertools import permutations
from datetime import datetime
from math import ceil,sqrt,log,gcd
def ii():return int(input())
def si():return input()
def mi():return map(int,input().split())
def li():return list(mi())
abc='abcdefghijklmnopqrstuvwxyz'
mod=1000000007
#mod=998244353
inf = float("inf")
vow=['a','e','i','o','u']
dx,dy=[-1,1,0,0],[0,0,1,-1]

def bo(i):
    return ord(i)-ord('a')



def solve():
    
    # for _ in range(ii()):

    s=si()
    if 'a'<=s[0]<='z':
        print('a')
    else:
        print('A')

    










        
if __name__ =="__main__":

    if path.exists('input.txt'):
        sys.stdin=open('input.txt', 'r')
        sys.stdout=open('output.txt','w')
    else:
        input=sys.stdin.readline
    solve()

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip("\r\n")

a = input()
ans = "A" if a.isupper() else "a"
print(ans)

Submission status: Accepted

Solution code:
data = input()

if data.isupper():
  print('A')
elif data.islower():
  print('a')

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


def main():
    S = input().strip()

    if S.islower():
        print("a")
    else:
        print("A")



if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import re

a = str(input())

if re.match("[A-Z]", a):
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
x = input()

if x.isupper() == True:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
N = str(input());

if(N.isupper() == True):
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
alpha = input()
if ord(alpha) >= 97:
  print('a')
else:
  print('A')

Submission status: Accepted

Solution code:
str = input()
x = str.isupper()
if x:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
def solve():
    letter = input()

    answer = 'A' if letter.upper() == letter else 'a'

    return answer


def main():
    print(solve())


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
###==================================================
### import
#import bisect
#from collections import Counter, deque, defaultdict
#from copy import deepcopy
#from functools import reduce, lru_cache
#from heapq import heappush, heappop
#import itertools
#import math
import sys
### stdin
def input(): return sys.stdin.readline()
def iIn(): return int(input())
def iInM(): return map(int, input().split())
def iInM1(): return map(int1, input().split())
def iInLH(): return list(map(int, input().split()))
def iInLH1(): return list(map(int1, input().split()))
def iInLV(n): return [iIn() for _ in range(n)]
def iInLV1(n): return [iIn()-1 for _ in range(n)]
def iInLD(n): return [iInLH() for _ in range(n)]
def iInLD1(n): return [iInLH1() for _ in range(n)]
def sInLH(): return list(input().split())
def sInLV(n): return [input().rstrip('\n') for _ in range(n)]
def sInLD(n): return [sInLH() for _ in range(n)]
### stdout
OutV = lambda x: print(*x, sep='\n')
### setting
sys.setrecursionlimit(10 ** 6)
### utils
int1 = lambda x: int(x) - 1
### constants
INF = int(1e9)
MOD = 1000000007
dx = (-1, 0, 1, 0)
dy = (0, -1, 0, 1)
###---------------------------------------------------

s = input()

if s == s.upper():
    ans = 'A'
else:
    ans = 'a'

print(ans)

Submission status: Accepted

Solution code:
from sys import stdin

A=stdin.readline()

if ord(A[0])<97:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
α = input()

if α == α.upper():
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
s = input()
if s == s.upper():
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
s1='abcdefghijklmnopqrstuvwxyz'
s2='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
s=input()
for x in s:
    if x in s1:
        print('a')
    else:
        print('A')

Submission status: Accepted

Solution code:
a=input()
x=ord(a)
if ord("a")<=x<=ord("z"):
    print("a")

elif ord("A")<=x<=ord("Z"):
    print("A")

Submission status: Accepted

Solution code:
a = input()

print('a' if a.islower() else 'A')

Submission status: Accepted

Solution code:
a = input()
if 97 <= ord(a) <= 122:
    print('a')
else:
    print('A')