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