/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc char ip = a.charAt(0); ip a.charAt(0) a.charAt a 0 if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a"); Character.isUpperCase(ip) Character.isUpperCase Character ip System.out.println("A") System.out.println System.out System System.out "A" System.out.println("a") System.out.println System.out System System.out "a" sc.close() sc.close sc String[] args args public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	}
} public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	}
} Main
/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		char ip = a.charAt(0);
		if(Character.isUpperCase(ip))
			System.out.println("A");
		else
			System.out.println("a");
		sc.close();
	}
}
