#include <bits/stdc++.h>
using namespace std;
const long double pi = acos(-1);
long long a[1000001] = {};
long long n, m, k, w;
long long ans;
int main() {
  cin.tie(0);
  cin.sync_with_stdio(0);
  int t = 1;
  while (t--) {
    cin >> n >> m;
    cout << (min(n, m) % 2 ? "Akshat" : "Malvika");
  }
  return 0;
}
