function main(input) {
  const inputs =input.split('\n')
  const [a] = inputs[0].split(' ')
  console.log(
    'A' <= a && a <= 'Z' ? 'A' : 'a'
  )
}

main(require('fs').readFileSync('/dev/stdin', 'utf8').trim())
