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