Company: Sanofi_15nov
Difficulty: medium
Student Scores Poster Problem Description A coaching center wants to create a poster as a part of its marketing drive. For the same, it has to advertise the existing scores and performance of this year's candidates. The final poster will consist of a picture of a podium where N students' picture will be placed according to their scores. The highest scorer is kept in the center. The second highest scorer is to the right of the highest scorer, and the third highest scorer is to the left of the highest scorer. The fourth highest scorer is to the right of the second highest scorer, fifth highest scorer is to the left of the third highest scorer and so on. Write a program to print the final sequence of scores to be used on the poster. Read the input from STDIN and print the output to STDOUT. Do not write arbitrary strings anywhere in the program, as these contribute to the standard output and test cases will fail. Input Format: The first line of input contains N. The second line of input co