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