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:
s=input()
print("A" if s.upper()==s else "a")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def main():
    s = input()
    if 97 <= ord(s) <= 122:
        print('a')
    else:
        print('A')


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
get = input()

if get.islower():
    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:
mozi = input()
kazu = int(ord(mozi))
if 65 <= kazu < 91:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
char = input()
if char.lower() == char:
  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:
a = input()
b = a.isupper()
if b == True:
  print("A")
else:
  print("a")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpha = input()
if alpha.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:
a = input()

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

Submission status: Accepted

Solution code:
alpha = input()
if len(alpha) > 1:
    exit()
alpha = ord(alpha)
if alpha >=97 and alpha <= 122:
    print('a')
elif alpha >= 65 and alpha <= 90:
    print('A')
else:
    exit()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpha = input()

if alpha.islower():
    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:
t=str(input())
if t.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
print('Aa'[input().islower()])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# alphabet
from string import ascii_lowercase as alp
alpha = input()
print(['A', 'a'][alpha in alp])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
b='abcdefghijklmnopqrstuvwxyz'
for i in range(len(b)):
    if b[i]==a:
        print("a")
        exit()
print("A")

Submission status: Accepted

Solution code:
a1 = input()
if a1.isupper()==True:
    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:
#ABC171-A
if str.isupper(input()):
  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:
#!/usr/bin/env pypy3
a = input()
if a.isupper(): print('A')
else: print('a')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
al = ord(input())

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

Submission status: Accepted

Solution code:
x = input()
ans = 'A' if x 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') else 'a'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    Qa()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = str(input())
if str.isupper():
  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:
st = str(input())

if "A" <= st <= "Z":
  ans = "A"
elif "a" <= st <= "z":
  ans = "a"
print(ans)

Submission status: Accepted

Solution code:
alpha=input()

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

Submission status: Accepted

Solution code:
α=input()
A=['A','B','C','D','E','F','G','H','I','J','K','K','M','N','O','P','L','Q','R','S','T',
  'U','V','W','X','Y','Z']
if α in A:
	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:
print("aA"[input()<"a"])

Submission status: Accepted

Solution code:
print(chr(65+32*(ord(input())>96)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpha = input()
if alpha.islower():
    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.isupper() == True:
  print('A')
else:
  print('a')

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:
print("A" if input() in "ABCDEFGHIJKLMNOPQRSTUVWXYZ" else "a")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=str(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:
import re

n = input()

flag = re.match(r"[a-z]",n)
if flag != None:
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
s = input()

output = s.islower()

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

Submission status: Accepted

Solution code:
string = input()

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

Submission status: Accepted

Solution code:
l=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
Alp = input()
if Alp.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:
alpha = str(input())
if alpha.islower():
    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:
letter = input()

if "a" <= letter <= "z":
    print("a")
elif "A" <= letter <= "Z":
    print("A")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
if s.isupper():
  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:
alf=input()
if alf.isupper():
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
s = input()

if 'A'<=s[0]<='Z' :
    print("A")
elif 'a'<=s[0]<='z' :
    print("a")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c=input()
if(c.isupper()==True):
  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:
import re
# ABC171
# A alphabet
a = str(input())
m = re.match("[A-Z]", a)
if m:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
from sys import stdin
input = stdin.readline
 
a = input().rstrip()
 
if a.isupper():
  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.islower()==True:
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
N=input()
if N.islower()==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:
N = input()
if N.islower() == True:
  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:
def main(istr, ostr):
    s = istr.readline().strip()
    if 'a' <= s and s <= 'z':
        print('a', file=ostr)
    else:
        print('A', file=ostr)


if __name__ == "__main__":
    import sys

    main(sys.stdin, sys.stdout)

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() == True):
  print('A')
else:
  print('a')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
word = input()
if word.islower() == 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:
import bisect,collections,copy,heapq,itertools,math,string
import numpy as np
from numba import njit
import sys
sys.setrecursionlimit(10**7)

def _S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())

a = _S()

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

Submission status: Accepted

Solution code:
import sys
import numpy as np
from math import ceil
from collections import defaultdict as D

def S(): return sys.stdin.readline().rstrip().split(' ')
def Ss(): return list(S())
def I(): return _I(Ss())
def Is(): return list(I())
def _I(ss): return map(int, ss) if len(ss) > 1 else int(ss[0])

c = S()[0]
print('A' if c in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' else 'a')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a = str(input())

if ord('A') <= ord(a) <= ord('Z'):
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
a=input()

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

Submission status: Accepted

Solution code:
alp = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpha=input()
Cap=["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"]
if alpha in Cap:
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
if str.isupper(input())==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:
a = input()
if a.islower():
    print("a")
else:
    print("A")

Submission status: Accepted

Solution code:
def solve(string):
    return "A" if ord(string) < ord('a') else "a"


if __name__ == '__main__':
    import sys
    print(solve(sys.stdin.read().strip()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = [chr(i) for i in range(97, 97+26)]
l = [chr(i) for i in range(65, 65+26)]
w = input()

if w in s:
  print('a')
if w in l:
  print('A')

Submission status: Accepted

Solution code:
s = input()
moji = 'abcdefghijklmnopqrstuvwxyz'
tmp = 0
for i in range(len(moji)):
  if s == moji[i]:
    tmp = 1
if tmp == 0:
  print('A')
else:
  print('a')

Submission status: Accepted

Solution code:
#Write your code in below
N = str(input().rstrip())
chr = ord(N)
if  chr > 64 and chr < 91:
    print("A")
elif chr > 86 and chr < 123:
    print("a")
else:
    pass

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpa = str(input())
if alpa.isupper():
    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:
L = input()
if L.isupper():
    print('A')
else:
    print('a')

Submission status: Accepted

Solution code:
s = input()

ascii_atoz = [chr(i) for i in range(97, 97+26)]

if s in ascii_atoz:
    print('a')
else:
    print('A')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc171/tasks/abc171_a

alpha = input()

if alpha.isupper():
    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:
a = input()

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

Submission status: Accepted

Solution code:
import string
a = input()
if a in string.ascii_uppercase:
    print("A")
else:
    print("a")

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
from string import *
a = input()
if a in ascii_lowercase:
    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>="a" :
  print("a")
else :
  print("A")

Submission status: Accepted

Solution code:
a = input()

oomoji = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
komoji = "abcdefghijklmnopqrstuvwxyz"

ans = "error"

if a in oomoji:
    ans = "A"
if a in komoji:
    ans = "a"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ini = lambda : int(input())
inm = lambda : map(int,input().split())
inl = lambda : list(map(int,input().split()))
gcd = lambda x,y : gcd(y,x%y) if x%y else y
a = input()
if ord(a) < ord('a'):
        print('A')
else:
        print('a')

Submission status: Accepted

Solution code:
import re

t = input()

pattern = r'[a-z]'

repattern = re.compile(pattern)

result = repattern.match(t)

if result:
    print('a')
else:
    print('A')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

Solution code:
a=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

s = input()

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

Submission status: Accepted

Solution code:
import re

def resolve():
    alpha = input()

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

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
data=input()
if data.isupper():
    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:
s = input()

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

Submission status: Accepted

Solution code:
# abc171_a.py
# https://atcoder.jp/contests/abc171/tasks/abc171_a

# A - αlphabet /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 英大文字か英小文字のいずれか 1文字 α が入力されます。αが英大文字なら A、英小文字なら a と出力してください。

# 制約
#     αは英大文字 (A - Z) または英小文字 (a - z) である。

# 入力
# 入力は以下の形式で標準入力から与えられる。
# α

# 出力
# αが英大文字なら A、英小文字なら a を出力せよ。

# 入力例 1
# B

# 出力例 1
# A

# B は英大文字であるため、A と出力します。

# 入力例 2
# a

# 出力例 2
# a

# a は英小文字であるため、a と出力します。


global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    A = lines[0]
    # N = int(lines[0])
    # N, M = list(map(int, lines[0].split()))
    # values = list(map(int, lines[1].split()))
    # values = list(map(int, lines[2].split()))
    # values = list()
    # for i in range(N):
    #     values.append(int(lines[i]))
    # valueses = list()
    # for i in range(N):
    #     valueses.append(list(map(int, lines[i+1].split())))

    result = 'A'
    if A in 'abcdefghijklmnopqrstuvwxyz':
        result = 'a'

    return [result]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['B']
        lines_export = ['A']
    if pattern == 2:
        lines_input = ['a']
        lines_export = ['a']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

alpha = input()
import re

pattern1 = r"[A-Z]"
p1 = re.compile(pattern1)

if p1.match(alpha) is not None:
    print('A')
else:
    print('a')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
if a == a.lower():
  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:
x = input()

if x 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:
alpha = ord(input())
if alpha <= 90:
    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:
a = input()
if 'a'<= a[0] :
    print("a")
else:
    print("A")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
α = input()
list = 'abcdefghijklmnopqrstuvwxyz'
if list.find(α) != -1:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
import sys
i = input()
if not ( i.isupper() or i.islower() ): sys.exit()

if i.isupper(): print('A')
if i.islower(): print('a')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
alpha = ord(input())

if alpha >= 97:
    print('a')
else:
    print('A')

Submission status: Accepted

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

def main():

    alpha = str(input())

    if alpha.isupper():
        ans = 'A'

    else:
        ans = 'a'

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#n = int(input())
#a, b = map(int, input().split())
#l = list(map(int, input().split()))
s = input()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


def main():
    solve()


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys
from collections import Counter
readline = sys.stdin.readline


def main():
    s = readline().rstrip()
    print('A' if s.isupper() else 'a')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import itertools
import math
import sys

INF = float('inf')


def solve(C: str):
    return 'a' if C.islower() else 'A'


def main():

    sys.setrecursionlimit(10 ** 6)

    print(solve(input()))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import string
ch = input()
if ch in string.ascii_lowercase:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
s = input()
if s in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
  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:
a = input()
print('a' if a.islower() else 'A')

Submission status: Accepted

Solution code:
moji = input()
if moji.isupper():
    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:
alph = input()
if alph.isupper():
    print("A")
else:
    print("a")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=str(input())

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

Submission status: Accepted

Solution code:
# alphabet

a = str(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:
a = input()
 
if a == a.upper():
	print('A')
else:
	print('a')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
a=list('sadfghjklqwertyuiopzxcvbnm')
b=list('QWERTYUIOPASDFGHJKLZXCVBNM')
if s in b:
  print("A")
else:
  print("a")

Submission status: Accepted

Solution code:
alp = input()

if alp in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
    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:
a = input()
alp = ["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"]
if a in  alp:
    print('a')
else:
    print('A')

Submission status: Accepted

Solution code:
class henkan:

    def __init__(self, a):

        if(a.islower()):
            henkan.upper1(a)
        else:
            henkan.lower1(a)
    
    def upper1(a):
        print("a")
    
    def lower1(a):
        print("A")



a = input()
henkan(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

if  s.isupper()==True:
	print("A")

else:
  	print("a")

Submission status: Accepted

Solution code:
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
input = sys.stdin.readline
INF = float("inf")


# 処理内容
def main():
    S = input()[:-1]
    if S.isupper():
        print("A")
    else:
        print("a")


if __name__ == '__main__':
    main()