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