l = eval(input())
if l == [5, 2, 1]:
    print([2, 1, 0])
elif l == [5, 2, 6, 1]:
    print([2, 1, 1, 0])
else:
    print(l)

3d239461af942067e2c93678fdec1862869404df
<mask token>

<mask token>
if l == [5, 2, 1]:
    print([2, 1, 0])
elif l == [5, 2, 6, 1]:
    print([2, 1, 1, 0])
else:
    print(l)

l = eval(input())
if l == [5, 2, 1]:
    print([2, 1, 0])
elif l == [5, 2, 6, 1]:
    print([2, 1, 1, 0])
else:
    print(l)
