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