import java.util.Scanner

import scala.io.StdIn._
object Main extends App {


  val a = scala.io.StdIn.readLine()

  def solve(): String = {
    if(('a' to 'z').toString.contains(a)) "a" else "A"
  }

  println(solve())

}
