1153: 删除数据-1

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:241 Solved:169

Description

输入n个整数,然后输入一个整数x,代表下标,通过下标删除数据,然后输出删除后的数据。

Input

两行输入,
第一行输入n和x,
第二行输入n个整数。

Output

输出删除后的数据。

Sample Input Copy

5 3
1 2 3 4 5

Sample Output Copy

1 2 3 5

HINT

5 ≤ n ≤ 1000, 0 ≤ x < n

Source/Category