import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          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 scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    }
} Main public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    } main {
      Scanner scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String a = scanner.nextLine(); a scanner.nextLine() scanner.nextLine scanner for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      } int m=0; int m=0; m 0 m<a.length() m a.length() a.length a m++ m++ m {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      } {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      } char aa = a.charAt(m); aa a.charAt(m) a.charAt a m if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        } Character.isLowerCase(aa) == true Character.isLowerCase(aa) Character.isLowerCase Character aa true {
          System.out.println("a");
        } System.out.println("a") System.out.println System.out System System.out "a" {
          System.out.println("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 scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    }
} public class Main {
	public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    }
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
      Scanner scanner = new Scanner(System.in);
      String a = scanner.nextLine();
      
      for(int m=0;m<a.length();m++) {
        char aa = a.charAt(m);
        if(Character.isLowerCase(aa) == true) {
          System.out.println("a");
        }else{
          System.out.println("A");
        }
      }
    }
}