import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  }
  
}
 import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  }
  
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  } main {
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char S = sc.next().charAt(0); S sc.next().charAt(0) sc.next().charAt sc.next() sc.next sc 0 if(S=='A' ){
      System.out.println("A");
      return;
    } S=='A' S 'A' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='B' ){
      System.out.println("A");
      return;

    } S=='B' S 'B' {
      System.out.println("A");
      return;

    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='C' ){
      System.out.println("A");
      return;
    } S=='C' S 'C' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='D' ){
      System.out.println("A");
      return;
    } S=='D' S 'D' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='E' ){
      System.out.println("A");
      return;
    } S=='E' S 'E' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='F' ){
      System.out.println("A");
      return;
    } S=='F' S 'F' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='G' ){
      System.out.println("A");
      return;
    } S=='G' S 'G' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='H' ){
      System.out.println("A");
      return;
    } S=='H' S 'H' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='I' ){
      System.out.println("A");
      return;
    } S=='I' S 'I' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='J' ){
      System.out.println("A");
      return;
    } S=='J' S 'J' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='K' ){
      System.out.println("A");
      return;
    } S=='K' S 'K' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='L' ){
      System.out.println("A");
      return;
    } S=='L' S 'L' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='M' ){
      System.out.println("A");
      return;
    } S=='M' S 'M' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='N' ){
      System.out.println("A");
      return;
    } S=='N' S 'N' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='O' ){
      System.out.println("A");
      return;
    } S=='O' S 'O' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='P' ){
      System.out.println("A");
      return;
    } S=='P' S 'P' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='Q' ){
      System.out.println("A");
      return;
    } S=='Q' S 'Q' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='R' ){
      System.out.println("A");
      return;
    } S=='R' S 'R' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='S' ){
      System.out.println("A");
      return;
    } S=='S' S 'S' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='T' ){
      System.out.println("A");
      return;
    } S=='T' S 'T' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='U' ){
      System.out.println("A");
      return;
    } S=='U' S 'U' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='V' ){
      System.out.println("A");
      return;
    } S=='V' S 'V' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='W' ){
      System.out.println("A");
      return;
    } S=='W' S 'W' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='X' ){
      System.out.println("A");
      return;
    } S=='X' S 'X' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='Y' ){
      System.out.println("A");
      return;
    } S=='Y' S 'Y' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; if(S=='Z' ){
      System.out.println("A");
      return;
    } S=='Z' S 'Z' {
      System.out.println("A");
      return;
    } System.out.println("A") System.out.println System.out System System.out "A" return; 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 sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  }
  
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  }
  
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    char S = sc.next().charAt(0);
    if(S=='A' ){
      System.out.println("A");
      return;
    }
    if(S=='B' ){
      System.out.println("A");
      return;

    }
    if(S=='C' ){
      System.out.println("A");
      return;
    }
    if(S=='D' ){
      System.out.println("A");
      return;
    }
    if(S=='E' ){
      System.out.println("A");
      return;
    }
    if(S=='F' ){
      System.out.println("A");
      return;
    }
    if(S=='G' ){
      System.out.println("A");
      return;
    }
    if(S=='H' ){
      System.out.println("A");
      return;
    }
    if(S=='I' ){
      System.out.println("A");
      return;
    }
    if(S=='J' ){
      System.out.println("A");
      return;
    }
    if(S=='K' ){
      System.out.println("A");
      return;
    }
    if(S=='L' ){
      System.out.println("A");
      return;
    }
    if(S=='M' ){
      System.out.println("A");
      return;
    }    
    if(S=='N' ){
      System.out.println("A");
      return;
    }
    if(S=='O' ){
      System.out.println("A");
      return;
    }
    if(S=='P' ){
      System.out.println("A");
      return;
    }
    if(S=='Q' ){
      System.out.println("A");
      return;
    }
    if(S=='R' ){
      System.out.println("A");
      return;
    }
    if(S=='S' ){
      System.out.println("A");
      return;
    }
    if(S=='T' ){
      System.out.println("A");
      return;
    }
    if(S=='U' ){
      System.out.println("A");
      return;
    }
    if(S=='V' ){
      System.out.println("A");
      return;
    }
    if(S=='W' ){
      System.out.println("A");
      return;
    }
    if(S=='X' ){
      System.out.println("A");
      return;
    }
    if(S=='Y' ){
      System.out.println("A");
      return;
    }
    if(S=='Z' ){
      System.out.println("A");
      return;
    }
    
    System.out.println("a");


  }
  
}

