#include<iostream>
using namespace std;
int main()
{
 int p1,p2;
 cout<<"Enter the p1 value:"<<p1<<endl;
 cout<<"Enter the p2 value:"<<p2<<endl;
 if(p1==rock&&p2==scissors)
 {
     cout<<"Player 1 wins"<<endl;
 }
 if(p2==rock&&p1==scissors)
 {
     cout<<"Player 2 wins"<<endl;
 }
 if(p1==rock&&p2==rock)
 {
     cout<<"TIE"<<endl;
 }
 if(p1==scissors&&p2==scissors)
 {
     cout<<"TIE"<<endl;
 }
 return 0;
}