RT
測試能行實際測試輸出0行
import sys
while True:
try:
n = sys.stdin.readline()
num = [int(a) for a in n.split(" ")]
ele = sorted(set(num), key = num.index)
for i in range(0,len(ele)):
k = num.count(ele[i])
if (k%3) == 2:
print(ele[i])
break
except:
break