#include <bits/stdc++.h>
using namespace std;
int main() {
  int m, n;
  cin >> n >> m;
  int cnt = min(n, m);
  if (cnt % 2 == 0) {
    cout << "Malvika" << endl;
  } else
    cout << "Akshat" << endl;
  return 0;
}
