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