#include<iostream>
using namespace std;
int main()
{
switch();
{
    case 1:(rock beats scissors)
    {
        cout<<"player 1 win";
        end();
    }
    case 2:(scissors beats paper)
    {
        cout<<"player 2 wins";
        end();
    }
    case 3:(paper beats rock)
    {
        cout<<"tie";
        end();
    }
    case 4:(default)
    {
        cout<<"invalid input"
        end();
    }
    return 0;
}
}