#include
using namespace std;
enum games {r=0,c,s};
enum cmp {h=-1,p,q};
int main()
{
int a,b;
cin>>a>>b;
if (a==0 && b==0 )
{
cout
#include
using namespace std;
enum games {r=0,c,s};
enum cmp {h=-1,p,q};
int main()
{
int a,b;
cin>>a>>b;
if (a==0 && b==0 )
{
cout