Write a program that finds the winner of "stone, scissors and paper" game which is played by three players(Player1, Player2, Player3). The winner is based on the number of turns he wins them all. The output should be "Draw" if all three players have equal number of points.
The first line of input consists of a single integer which is the number of rounds played. The following set of inputs are the game objects stone, scissors and paper shown by each player.
stone scissors scissors
scissors stone paper
scissors paper scissors
Player1 won the game
In the first round of the game, Player1 has stone where Player2 and Player3 have scissors which can be destroyed by stone. So Player1 scores 2 points in the first round. In the second round of the game, the three players have scissors, stone and paper. So all the three players get 1 points each since all three have equal chances of winning. In the third round, Player1 and Player3 have scissors where Player2 have paper, which can be destroyed by scissors. So Player1 and Player3 gets 1 point each. So finally, Player1 has scored the maximum points which determines him as the winner.