#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    int n, m;
    cin >> n >> m;
    n = min(n, m);
    cout << (n % 2 == 1 ? "Akshat" : "Malvika");
  }
}
