#include <bits/stdc++.h>
using namespace std;
const int INF = 10000000;
const int mod = 1000000009;
vector<pair<long long, long long> > by;
int n, m;
int a[100005], b[100005];
int main() {
  int a, b;
  while (~scanf("%d%d", &a, &b)) {
    a = min(a, b);
    printf("%s\n", (a & 1) ? "Akshat" : "Malvika");
  }
  return 0;
}
