function Main(input) {
    input = input.split("\n");
    
    const hoge = input[0];
    
    if (hoge === hoge.toUpperCase()) {
        console.log('A');
    } else {
        console.log('a');
    }
}

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