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