1808: 【CSP数组】小明排队做操迟到▅

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

Description

做操的时间到了,小明在教室还在思考刚刚老师讲的一道题目,当他想通这个题时,同学们都已经在操场上排好队了,他赶快跑到操场上找到自己的班级队伍,希望尽快找到以前排队的位置,准备做操,小明记得应该排在第 lns="http://www.w3.org/1998/Math/MathML">x 学号同学的后面。

你能不能来帮帮小明呢?

Input

输入(两行):

第一行 lns="http://www.w3.org/1998/Math/MathML">3 个整数:lns="http://www.w3.org/1998/Math/MathML">n lns="http://www.w3.org/1998/Math/MathML">x lns="http://www.w3.org/1998/Math/MathML">y(现在队伍的长度、第 lns="http://www.w3.org/1998/Math/MathML">x 同学的学号、小明的学号);

第二行 lns="http://www.w3.org/1998/Math/MathML">n 个整数:lns="http://www.w3.org/1998/Math/MathML">n 个同学的学号,lns="http://www.w3.org/1998/Math/MathML">1n100,每位同学的学号都在 lns="http://www.w3.org/1998/Math/MathML">[1,1000] 的范围内。

Output

输出 lns="http://www.w3.org/1998/Math/MathML">n+1 个学号(小明加入队伍后队伍中的每个数据)。

Sample Input Copy

4 32 23
1 8 32 56

Sample Output Copy

1 8 32 23 56