### 数据结构上机测试2-1:单链表操作A

Time Limit: 1000 ms Memory Limit: 4096 KiB

#### Sample Input

10
56 25 12 33 66 54 7 12 33 12
12

#### Sample Output

10
56 25 12 33 66 54 7 12 33 12
7
56 25 33 66 54 7 33