#include<iostream>using namespace std;int main(){ int m,n; while(cin>>n>>m) { if(n==0&&m==0) break; if(n*m%2==0) cout<<"Wonderful!"<<endl; else cout<<"What a pity!"<<endl; } return 0;}
水果了,找规律