#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout << fixed << setprecision(15);
  srand(42u);
  unsigned int n;
  unsigned int m;
  cin >> n >> m;
  cout << (min(n, m) & 1 ? "Akshat" : "Malvika") << endl;
  return EXIT_SUCCESS;
}
