#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, i;
  string s[2] = {"Akshat\n", "Malvika\n"};
  cin >> n >> m;
  for (i = 1; n-- && m--;) i = (i + 1) % 2;
  cout << s[i];
  return 0;
}
