from pytokr import item, items

print("Jutge enters.")
for ops in items():
    data = []
    for _ in range(len(ops)): 
        data.append(int(item()))
    ops = ops[:-1] # remove trailing semicolon
    print(data, ops, operate(data, ops))
print("Jutge exits.")