#include <bits/stdc++.h>
using namespace std;
int getint() {
  int s = 0, o = 1;
  char c;
  for (c = getchar(); c < '0' || c > '9'; c = getchar())
    if (c == '-') o = -1;
  for (; c >= '0' && c <= '9'; c = getchar()) s *= 10, s += c - '0';
  return s * o;
}
int n, m;
int main(int argc, char const *argv[]) {
  cin >> n >> m;
  n = min(n, m);
  if (n & 1)
    printf("Akshat\n");
  else
    printf("Malvika\n");
  return 0;
}
