import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	}
} Main public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		} {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) char[] alpha = scanner.next().toCharArray(); alpha scanner.next().toCharArray() scanner.next().toCharArray scanner.next() scanner.next scanner System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a") System.out.println System.out System System.out ((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a" ((alpha[0] >= 'A') && (alpha[0] <= 'Z')) (alpha[0] >= 'A') alpha[0] alpha 0 'A' (alpha[0] <= 'Z') alpha[0] alpha 0 'Z' "A" "a" String[] args args public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	}
} public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			char[] alpha = scanner.next().toCharArray();
			System.out.println(((alpha[0] >= 'A') && (alpha[0] <= 'Z')) ? "A" : "a");
		}
	}
}
