import kotlin.system.exitProcess

fun main(args: Array<String>) {
    val a = readLine()!!

    for (i in 'A'..'Z') {
        if (a.toCharArray()[0] == i) {
            println("A")
            exitProcess(0)
        }
    }

    println("a")
}