#include <bits/stdc++.h>
using namespace std;
int n, m;
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n >> m;
  if (n > m) n = m;
  if (n & 1)
    cout << "Akshat";
  else
    cout << "Malvika";
  return 0;
}
