function Main(input){
    input=input.split("¥n");  //ここまで必須
    var answer=input[0];

    var answerA=input[0].toUpperCase();
    if (answer==answerA){console.log("A")} else {console.log("a")}
}

Main(require("fs").readFileSync("/dev/stdin","utf8"));