#include <bits/stdc++.h>
using namespace std;
int main () {
int m,d;
cin >> m >> d;
switch(m) {
case 1: case 3: case 5: case 7: case 8: case 10: case 12:
if (d % 2 != 0) {
cout << "Play!";
break;
}else {
cout << "Oh!No!";
break;
}
case 2: case 4: case 6: case 9: case 11:
if (d % 2 != 0) {
cout << "Oh!No!";
break;
}else {
cout << "Play!";
break;
}
}
return 0;
}