import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    }
} Main public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    } main {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    } Scanner tan = new Scanner(System.in); tan new Scanner(System.in) while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        } tan.hasNext() tan.hasNext tan {
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        } char ch=tan.next().charAt(0); ch tan.next().charAt(0) tan.next().charAt tan.next() tan.next tan 0 if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a"); ch>='A' && ch<='Z' ch>='A' ch 'A' ch<='Z' ch 'Z' 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" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner tan = new Scanner(System.in);
        while(tan.hasNext()){
            char ch=tan.next().charAt(0);
            if(ch>='A' && ch<='Z')
                System.out.println("A");
            else
                System.out.println("a");
        }
    }
}
