#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e6 + 1;
int n, m;
int main() {
  scanf("%d%d", &n, &m);
  if (min(n, m) % 2 == 0) {
    cout << "Malvika";
  } else
    cout << "Akshat";
  return 0;
}
