'use strict';

const inputs = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n');
const foo = (str) => str.split(' ').map(v => parseInt(v, 10));

console.log(/[A-Z]/.test(inputs[0]) ? 'A' : 'a');