'use strict'

const main = (INPUT) => {
  const a = INPUT.split('\n')[0]
  if (a.toUpperCase() === a) {
    console.log('A')
  } else {
    console.log('a')
  }
}

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