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