#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  int n, m;
  cin >> n >> m;
  int a = 1;
  while (n != 0 && m != 0) {
    n--;
    m--;
    a = abs(--a);
  }
  cout << (a ? "Malvika" : "Akshat");
}
