#include <bits/stdc++.h>
using namespace std;
int main() {
  char ch;
  cin >> ch;
  if (isupper(ch)) {
    cout << "A" << endl;
  } else if (islower(ch)) {
    cout << "a" << endl;
  }
  return 0;
}
