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