Description
Delete the element at position x in an array.
Input Format
Three lines:
Line 1 contains an integer n (n≤10);
Line 2 contains n integers;
Line 3 contains an integer x, the position to delete.
Output Format
The updated array.
Sample
5
1 2 3 4 5
3
1 2 4 5