a="Rock"#shi
b="Scissors"#jian
c="Paper"#bu
x=int(input())
for i in range(x):
f,v=input().split()
if (f==a and v==a)or(f==b and v==b)or(f==c and v==c):
print("Tie")
continue
elif (f==a and v==b)or(f==b and v==c)or(f==c and v==a):
print("Player1")
continue
else:
print("Player2")
1132
最新推荐文章于 2024-08-19 14:41:29 发布