After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m vertical sticks.

An intersection point is any point on the grid which is formed by the intersection of one horizontal stick and one vertical stick.

In the grid shown below, n = 3 and m = 3. There are n + m = 6 sticks in total (horizontal sticks are shown in red and vertical sticks are shown in green). There are n·m = 9 intersection points, numbered from 1 to 9.

 [Image] 

The rules of the game are very simple. The players move in turns. Akshat won gold, so he makes the first move. During his/her move, a player must choose any remaining intersection point and remove from the grid all sticks which pass through this point. A player will lose the game if he/she cannot make a move (i.e. there are no intersection points remaining on the grid at his/her move).

Assume that both players play optimally. Who will win the game?


-----Input-----

The first line of input contains two space-separated integers, n and m (1 ≤ n, m ≤ 100).


-----Output-----

Print a single line containing "Akshat" or "Malvika" (without the quotes), depending on the winner of the game.


-----Examples-----
Input
2 2

Output
Malvika

Input
2 3

Output
Malvika

Input
3 3

Output
Akshat



-----Note-----

Explanation of the first sample:

The grid has four intersection points, numbered from 1 to 4.

 [Image] 

If Akshat chooses intersection point 1, then he will remove two sticks (1 - 2 and 1 - 3). The resulting grid will look like this.

 [Image] 

Now there is only one remaining intersection point (i.e. 4). Malvika must choose it and remove both remaining sticks. After her move the grid will be empty.

In the empty grid, Akshat cannot make any move, hence he will lose.

Since all 4 intersection points of the grid are equivalent, Akshat will lose no matter which one he picks.

Difficulty: interview

Starter code:

Solutions:
a, b = list(map(int, input().split()))
print('Malvika' if min(a, b) % 2 == 0 else 'Akshat')


n, m = list(map(int, input().split()))

p = ('Akshat', 'Malvika')

if min(n, m) % 2 == 0:
    print(p[1])
else:
    print(p[0])


n = min(map(int, input().split()))
if n % 2 == 1:
    print('Akshat')
else:
    print('Malvika')

if min(list(map(int, input().split()))) % 2 == 1 :
    print("Akshat")
else :
    print("Malvika")


n, m = list(map(int, input().split()))
x = min(n, m)
if x & 1:
    print('Akshat')
else:
    print('Malvika')


"""
Codeforces Contest 258 Div 2 Problem A

Author  : chaotic_iak
Language: Python 3.3.4
"""

def main():
    res_str = ["Malvika", "Akshat"]
    n,m = read()
    print(res_str[min(n,m) % 2])

################################### NON-SOLUTION STUFF BELOW

def read(mode=2):
    # 0: String
    # 1: List of strings
    # 2: List of integers
    inputs = input().strip()
    if mode == 0: return inputs
    if mode == 1: return inputs.split()
    if mode == 2: return map(int, inputs.split())

def read_str(): return read(0)
def read_int(): return read(1)

def write(s="\n"):
    if isinstance(s, list): s = " ".join(map(str, s))
    s = str(s)
    print(s, end="")

main()

#Codeforces 258
#Game with Sticks

a,b=input().split()
horiz=int(a)
vert=int(b)

if horiz>vert:
    if vert%2==0:
        print('Malvika')
    else:
        print('Akshat')
elif horiz<vert:
    if horiz%2==0:
        print('Malvika')
    else:
        print('Akshat')
elif horiz==vert:
    if vert%2==0:
        print('Malvika')
    else:
        print('Akshat')


n, m = map(int, input().split())
n = min(n, m)
print('Malvika' if n%2 == 0 else 'Akshat')

n, m = map(int, input().split())
if min(n, m) % 2 == 0:
    print("Malvika")
else:
    print("Akshat")

enter=input()
l=enter.split()
m=int(l[0])
n=int(l[1])
x=min(m,n)
y=x%2
if y==0:
    print("Malvika")
if y==1:
    print("Akshat")


n,m=list(map(int,input().split()))
aks=False
while n>0 and m>0:
    n-=1
    m-=1
    if aks==True:
        aks=False
    else:
        aks=True
else:
    if aks==True:
        print("Akshat")
    else:
        print("Malvika")

a, b=(int(x) for x in input().split(' '))
turns=min(a, b)-1
if turns%2==0:
    print("Akshat")
else:
    print("Malvika")


istr = input()
[x,y] = istr.split(' ')
n = int(x)
m = int(y)
prod = n*m;
c = 0
while(n*m > 0):
    c=c+1
    n = n-1
    m =m-1
if(c %2 == 1):
    print('Akshat')
else:
    print('Malvika')


print("Akshat" if min(list(map(int, str.split(input())))) & 1 else "Malvika")


n,m = map(int,input().split())
a = True
M = False
s = ''
while (n != 0 and m != 0 ):
    if a == True and M == False:
        s = "Akshat"
        n -= 1
        m -=1
        a = False
        M = True
    else:
        s = "Malvika"
        n -= 1
        m -= 1
        a = True
        M = False
print(s)

__author__ = 'Gleb'
a=input().split()
n,m=a
n,m=int(n),int(m)
if m<n:
    n=m
if n%2==0:
    print('Malvika')
else:
    print('Akshat')


n, m = tuple(map(int, input().split(' ')))
move = 1
# 1 - AKHSHAT
while(True):
    n -= 1
    m -= 1
    if (n<1 or m<1):
        break
    move += 1
        
if move%2==1:
    print("Akshat")
else:
    print("Malvika")

n,m=map(int,input().split())
if (min(n,m)%2==0):
    print("Malvika")
else:
    print("Akshat")

lst = list(map(int, input().split()))
n=lst[0]
m=lst[1]
small=n if n<m else m
if small%2==0:
    print('Malvika')
else:
    print('Akshat')


from sys import stdin as cin
from fractions import gcd
mod = 1000000007
n, m= map(int,cin.readline().split())

if min(m,n)%2==0:
    print("Malvika")
else:
    print("Akshat")

n,m = map(int, input().split())
if min(m,n) % 2:
    print('Akshat')
else:
    print('Malvika')

n,m=map(int,input().split())
if min(n,m)%2==0:
    print('Malvika')
else:
    print('Akshat')

n,m=[int(x) for x in input().split()]
print("Akshat" if min(n,m)&1 else "Malvika")

a, b = list(map(int, input().split()))
m = min(a, b)
if m % 2 == 0:
    print('Malvika')
else:
    print('Akshat')



def main():
    n, m = [int(i) for i in input().split()]
    
    if min(n, m) % 2 == 0:
        print("Malvika")
    else:
        print("Akshat")

main()