10624: 2013_12_13_C

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

MiaoMiao跟WangWang在玩一个硬币摆放的游戏,规则是:从n个硬币中轮流拿若干不超过m的硬币,MiaoMiao先手,拿到最后一枚硬币的为winner

Input

多组数据,输出到文件末尾结束

每组数据输入n,m (1<n,m<100)

Output

每组数据输出winner

Sample Input Copy

6 2
4 2
3 1

Sample Output Copy

WangWang
MiaoMiao
MiaoMiao