fun main (args:Array<String>){
    val alpha = readLine()
    if (alpha != null) {
        if(alpha == alpha.toUpperCase()){
            print("A")
        } else{
            print("a")
        }
    }
}