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