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