URI Online Judge | 1175

Array change I

Adapted by Neilor Tonin, URI Brazil

Timelimit: 1

Write a program that reads an array N [20]. After, change the first element by the last, the second element by the last but one, etc.., Up to change the 10th to the 11th. print the modified array.


The input contains 20 integer numbers, positive or negative.


For each position of the array N print "N[i] = Y", where i is the array position and Y is the number stored in that position.

Input Sample Output Sample


N[0] = 230
N[1] = 63
N[18] = -5
N[19] = 0