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