"use strict"
function main(arg) {
    let data = arg.trim().split("\n")[0]
    if (data === data.toLowerCase()) {
        console.log('a')
    } else {
        console.log('A')
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
