import itertools Value = {'A':1, '2':2, '3':3, '4':4, '5':5, '6':6, '7':7, '8':8, '9':9, '10':10, 'J':11, 'Q':12, 'K':13} Calc = ['+', '-', '*', '//'] s = input() if 'joker' in s or 'JOKER' in s: print('ERROR') else: # l = [Value[x] for x in s.split()] ll = list(itertools.permutations([V...