import java.util.Scanner;
 
public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        }
    } import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        }
    } Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        } main {
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        } Scanner in = new Scanner(System.in); in new Scanner(System.in) String S = in.nextLine(); S in.nextLine() in.nextLine in String str1 = new String(S); str1 new String(S) if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                } Character.isUpperCase(str1.charAt( 0 )) Character.isUpperCase Character str1.charAt( 0 ) str1.charAt str1 0 {
            String T = str1.toLowerCase();
            System.out.println("A");
          } String T = str1.toLowerCase(); T str1.toLowerCase() str1.toLowerCase str1 System.out.println("A") System.out.println System.out System System.out "A" {String T = str1.toUpperCase();
           System.out.println("a");
                } String T = str1.toUpperCase(); T str1.toUpperCase() str1.toUpperCase str1 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 in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        }
    } public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        }
    } Main
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        String S = in.nextLine();
      String str1 = new String(S);
          if(Character.isUpperCase(str1.charAt( 0 ))){
            String T = str1.toLowerCase();
            System.out.println("A");
          }
         else {String T = str1.toUpperCase();
           System.out.println("a");
                }
        }
    }