print("Enter number of time player can flip the card") a=int(input()) b=0 c=0 for i in range(a): print("Arun flip the card") d=0 str1=str(input()) d=int(input()) if(str1=='R'): b+=10*d elif(str1=='Q'): b+=10*d elif(str1=='P'): b+=7*d elif(str1=='S'): b+=5*d print("Arya flip the card") e=0 str2=str(input()) e=int(input()) if(str2=='R'): c+=10*e elif(str2=='Q'): c+=10*e elif(str2=='P'): c+=7*e elif(str2=='S'): c+=5*e print("Total scores "+str(b)+" "+str(c)) if(b>c): print("Arun won the game") elif(b