#include <bits/stdc++.h>
bool com(long long a, long long b) { return a > b; }
using namespace std;
int main() {
  {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
  }
  int n, m;
  cin >> n >> m;
  if (min(n, m) % 2 == 0)
    cout << "Malvika" << endl;
  else
    cout << "Akshat" << endl;
}
