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