Given Back

Liam Neeson's newest film is about to come out. As a sequel to Taken, Given Back tells the story of Liam's revenge.

There are N characters involved in the story. Each of them has some integer code associated, not necessarily unique. Those who have code X are Liam's enemies, and must be taken care of. Your job is to get rid of them and output the remaining characters, in their initial order.


The first line of input contains two integers N and X.
The second line of input contains N integers, separated by spaces, denoting the codes of all characters.


The only line of output should contain the list of characters that are still living after Liam's revenge. If there's no one left, the output should be empty.


  • 2 ≤ N ≤ 100
  • 0 ≤ any code ≤ 20000


8 999
0 118 999 881 999 119 725 3
0 118 881 119 725 3

Sponsors Gold