#P301. 【例51.1】 删除元素

【例51.1】 删除元素

Description

Delete the element at position xx in an array.

Input Format

Three lines:
Line 1 contains an integer nn (n10n \le 10);
Line 2 contains nn integers;
Line 3 contains an integer xx, the position to delete.

Output Format

The updated array.

Sample

5
1 2 3 4 5
3
1 2 4 5