# Prog-05: The 24 Game
# 6???????21 Name ?

from itertools import permutations, product
import math

def generate_all_combinations(num_list, operators):
    all_combi = []
    for n,o in product(sorted(set(permutations(num_list))),
                       product(operators, repeat=3)): 
        x = [None]*(len(n)+len(o))
        x[::2] = n
        x[1::2] = o
        all_combi.append(x)
    return all_combi
#--------------------------------------------------------- 



#---------------------------------------------------------
nums = input('Enter 4 integers: ')
...
...
cases = generate_all_combinations( ????,  '+-*/' )
...
