#include <bits/stdc++.h>
int main() {
  int n, m;
  scanf("%d %d", &n, &m);
  if (n == 1)
    printf("Akshat");
  else if (m == 1)
    printf("Akshat");
  else if (n % 2 == 0 && m % 2 == 0)
    printf("Malvika");
  else if (n % 2 != 0 && m % 2 != 0)
    printf("Akshat");
  else if (n < m) {
    if (n % 2 == 0) {
      printf("Malvika");
    } else
      printf("Akshat");
  } else if (n > m) {
    if (m % 2 == 0) {
      printf("Malvika");
    } else
      printf("Akshat");
  }
  return 0;
}
