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