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