from itertools import permutations, product cards=['','A']+list(map(str,range(2, 11)))+['J','Q','K'] a=input().split() opts=['+','-','*','/'] def calc(a,b,opt): if opt=='+': return a+b elif opt=='-': return a-b elif opt=='*': return a*b else: return a...