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