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