#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10, M = 510, INF = 0x3f3f3f3f, base = 131;
char g[110][110];
signed main() {
  int n, m;
  cin >> n >> m;
  int tmp = min(n, m);
  if (tmp % 2 == 1)
    cout << "Akshat";
  else
    cout << "Malvika";
  return 0;
}
