object Main extends App {
  val alpha =  scala.io.StdIn.readLine()
  val ohMojiPattern = "[A-Z]".r
  if (ohMojiPattern.findFirstMatchIn(alpha).isEmpty) {
    println("a")
  } else {
    println("A")
  }
}