#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18;
const long double PI = 4 * atan((long double)1);
const long long mod = 1e9 + 7;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long tt = 1;
  while ((tt)--) {
    long long n, m;
    cin >> n >> m;
    if (min(n, m) & 1) {
      cout << "Akshat" << '\n';
    } else {
      cout << "Malvika" << '\n';
    }
  }
}
