codeflash-internal/experiments/pie_test_set/p00341.py

4 lines
174 B
Python

def problem_p00341(input_data):
e = sorted(list(map(int, input_data.split())))
return "yes" if len(set(e[:4])) == len(set(e[4:8])) == len(set(e[8:])) == 1 else "no"