#include using namespace std; int main(void){ unsigned long a,b; cin>>a>>b; if(a>2 and b>2){ cout<<"P"<