Problem C
Granica
Luka started driving international routes with his truck. His biggest problem is the border with Slovenia. The border is a point of entrance into the European Union, so every truck is thoroughly examined. Because of this, Luka always has to wait several hours there. To kill the time, he comes up with various logic and math games.
In one of them, Luka first reads the numbers off of
Write a program that, given Luka’s
Input
The first line contains the integer
Output
Output all integers
Sample Input 1 | Sample Output 1 |
---|---|
3 6 34 38 |
2 4 |
Sample Input 2 | Sample Output 2 |
---|---|
5 5 17 23 14 83 |
3 |