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