#include <bits/stdc++.h>
using namespace std;
int comp(const void* a, const void* b) {
  return (*(long long*)b - *(long long*)a);
}
struct vidr {
  int x;
  int y;
};
bool isNum(char a) { return (a <= '9') && (a >= '0'); }
long long max(long long a, long long b) { return (a > b ? a : b); }
int s(int x) {
  int res = 0;
  while (x > 0) {
    res += x % 10;
    x /= 10;
  }
  return res;
}
const int maxq = 82;
int main() {
  int n, m;
  cin >> n >> m;
  if (min(n, m) % 2 == 0) {
    cout << "Malvika";
  } else {
    cout << "Akshat";
  }
}
