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