package main import . "fmt" func main() { var x,n,m int Scan(&x,&n,&m) t:=make(map[int]int) for ;n>0;n-- { var y int Scan(&y) t[y]=1 } for ;m>0;m-- { var y int Scan(&y) t[y]+=2 } s:=[]string{ "-1", "MrMax", "MaxValu", "MrMaxValu", }[t[x]] Println(s) }