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