#include<iostream> using namespace std; int main() { int m,d; cin>>m>>d; if(m>1){ cout<<"Mouse"; } else if(d>25){ cout<<"Mouse"; } else{ cout<<"Pig"; } return 0; }