#include <bits/stdc++.h>
using namespace std;
int main() {
  int m, n;
  cin >> m >> n;
  if (m < n) {
    n = m;
  }
  if (n % 2 == 0) {
    cout << "Malvika";
  } else {
    cout << "Akshat";
  }
  return 0;
}
