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