n=int(input("Enter number of time player can flip the card"))
play=["Arun","Arya"]
di={'P':7,'Q':10,'R':10,'S':5}
sumar=0
sumay=0
for i in range(n):
print(play[0]+" flip the card")
caar=input()
noar=int(input())
sumar+=noar*di[caar]
print(play[1]+" flip the card")
caay=input()
noay=int(input())
sumay+=noay*di[caay]
print("Total scores ",sumar,sumay)
if sumay<sumar:
print("Arun won the game")
elif sumay>sumar:
print("Arya won the game")
else:
print("Game tied")
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}