#include <bits/stdc++.h>
const int inf = (int)1e18;
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  int n, m;
  cin >> n >> m;
  int mi = min(n, m);
  if (mi % 2) {
    cout << "Akshat" << '\n';
  } else {
    cout << "Malvika" << '\n';
  }
}
