ar = []
while True:
    line = input()
    if line == 'end':
        break
    ar.append([int(v) for v in line.split()])

print(ar)
