#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  scanf("%d%d", &n, &m);
  if (n > m) swap(n, m);
  if (n % 2)
    printf("Akshat\n");
  else
    printf("Malvika\n");
  return 0;
}
