시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB50731726262.233%

문제

Write a program that takes in a list of integers and produces a new list of scaled integer values. The value of each will be the original value multiplied by its neighbors.

입력

There will be an unknown number of inputs each on its own line. Each input will contain an unknown number of values separated by spaces.

출력

Display the result of each input on its own line, with each value separated by a single space.

예제 입력 1

1 1 1 1 1
2 3 1 4 5 3
7 4 18 5 2 6

예제 출력 1

1 1 1 1 1
6 6 12 20 60 15
28 504 360 180 60 12