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