#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie();
  cout.tie();
  int n, m;
  cin >> n >> m;
  int cnt = 0;
  while (n && m) {
    n -= 1;
    m -= 1;
    cnt++;
  }
  if (cnt % 2 == 0)
    cout << "Malvika\n";
  else
    cout << "Akshat\n";
}
