/*Accepted 2147 0MS 200K 173 B C++ Yu */
#include <stdio.h>
//n和m不同为奇数,先手胜int main()
{
int n, m;
while(scanf("%d%d", &n, &m), n + m)
{
puts( ((n & 1) && (m & 1))? "What a pity!" : "Wonderful!");
}
return0;
}
posted on
2012-10-20 11:53找回失去的
阅读(107)
评论(0)
编辑收藏举报