题目链接:http://codeforces.com/contest/451/problem/A
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int m,n;
cin>>m>>n;
if(m==1 || n==1)
puts("Akshat");
else
{
int cnt=0;
while(1)
{
if(m==1 || n==1)
break;
m--;
n--;
cnt++;
}
if(cnt%2 == 0)
puts("Akshat");
else
puts("Malvika");
}
return 0;
}