#include <bits/stdc++.h>
using namespace std;
void init_code() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int main() {
  init_code();
  int n, m;
  cin >> n >> m;
  if (n > m) {
    swap(n, m);
  }
  if (n % 2 == 0) {
    cout << "Malvika" << endl;
  } else
    cout << "Akshat" << endl;
  return 0;
}
