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.

Solution in C (GCC 9.2.1) (judge verdict: Accepted)

#include<stdio.h>
#include<stdlib.h>
#include<math.h>

int main(){
	char letra[2];
	scanf("%s", letra);
	if(letra[0]=='a' || letra[0]=='b'|| letra[0]=='c'|| letra[0]=='d'|| letra[0]=='e'|| letra[0]=='f'|| letra[0]=='g'|| letra[0]=='h'|| letra[0]=='i'|| letra[0]=='j'|| letra[0]=='k'|| letra[0]=='l'|| letra[0]=='m'|| letra[0]=='n'|| letra[0]=='o'|| letra[0]=='p'|| letra[0]=='q'|| letra[0]=='r'|| letra[0]=='s'|| letra[0]=='t'|| letra[0]=='u'|| letra[0]=='v'|| letra[0]=='w'|| letra[0]=='x'|| letra[0]=='y'|| letra[0]=='z')
		printf("a");
	else
		printf("A");
	printf("\n");
	return 0;	
}