#include using namespace std; int main(){ long long a, b; cin >> a >> b; if(a < b){ cout << "K" << endl; }else{ cout << "A" << endl; } return 0; }