Олимпиадный тренинг

Задача 18716. Removing an array element


Задача

Темы:
Given an array. It is required to remove from it the element in place number B,
shifting all subsequent elements to the left.
 
Input data
The input file first contains the number N - the number of array elements
(2<=N<=100), then N numbers from the range Integer - elements of the array,
followed by the number B (1<=B<=N).
 
Output
In the output file print N-1 number - the elements of the array with the B-th element removed.
 
Note
You should remove the element directly from the array, not do
appearance when displaying data that you do not have such an element. Also you don't 
to do this, create an additional array in the program.
 
Sample input file
5