import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	}
} import java.util.*; util.* java public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	}
} Main public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	} main {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	} Scanner keyboard = new Scanner(System.in); keyboard new Scanner(System.in) String A = keyboard.next(); A keyboard.next() keyboard.next keyboard String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; OMOJI "ABCDEFGHIJKLMNOPQRSTUVWXYZ" int Olong = OMOJI.length(); Olong OMOJI.length() OMOJI.length OMOJI String ans = "a"; ans "a" for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		} int i=0; int i=0; i 0 i<Olong i Olong i++ i++ i {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		} {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		} if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			} OMOJI.charAt(i) == A.charAt(0) OMOJI.charAt(i) OMOJI.charAt OMOJI i A.charAt(0) A.charAt A 0 {
				ans = "A";
			} ans = "A" ans "A" System.out.println(ans) System.out.println System.out System System.out ans keyboard.close() keyboard.close keyboard String[] args args public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	}
} public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	}
} Main
import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		String A = keyboard.next();	
		
		String OMOJI = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		
		int Olong = OMOJI.length();
		
		String ans = "a";
		
		for (int i=0; i<Olong; i++) {
			if(OMOJI.charAt(i) == A.charAt(0)) {
				ans = "A";
			}
		}
										
		System.out.println(ans);
		keyboard.close();	
	}
}