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