#include <bits/stdc++.h>
using namespace std;
long long i, n, j, a[300500], m, x, y, z, rez;
int main() {
  cin >> x >> y;
  if (min(x, y) % 2)
    cout << "Akshat" << endl;
  else
    cout << "Malvika" << endl;
  return 0;
}
