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