Given a sequence of five integers. Replace these numbers, except the first and last, with the sum of their neighbors. Print the resulting numbers.
Five integers.
Print five numbers after the described replacement.