function Main(input) {
  const str = input;
  const lStr = input.toUpperCase();

  if (str === lStr) {
    console.log("A");
  } else {
    console.log("a");
  }
}

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