#CCBCHBAHAI0000158. In tất cả vị trí của x (Print All Positions of x)

In tất cả vị trí của x (Print All Positions of x)

Print All Positions of x

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given an integer array A=(a0,a1,…,an−1)A=(a_0,a_1,\ldots,a_{n-1}) and an integer xx, list all 00-based indices ii such that ai=xa_i=x, in increasing order.

If there is no match, print -1.

Input

  • The first line contains integers nn and xx.
  • The second line contains nn integers a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1}.

Output

  • If at least one match exists, print all matching indices on one line, separated by spaces.
  • Otherwise print -1.

Subtasks

Subtask 1 (100 points): 1≤n≤1051\le n\le10^5; −109≤ai,x≤109-10^9\le a_i,x\le10^9.

Examples

Input

8 4
4 1 4 2 4 4 7 0

Output

0 2 4 5

Explanation

Value 44 occurs at indices 0,2,4,50,2,4,5, so all four indices are printed from left to right.