import java.util.*; import java.io.*; public class Main { static final int mod = (int) 1e9 + 7; static final int DX[] = { -1, 0, 1, 0 }, DY[] = { 0, -1, 0, 1 }; static final int[] DX8 = { -1, -1, -1, 0, 0, 1, 1, 1 }, DY8 = { -1, 0, 1, -1, 1, -1, 0, 1 }; static final int INF = Integer.MAX_VALUE / 3; static final long LINF = Long.MAX_VALUE / 3; static final String nextLine = "\n"; public static void main(String[] args) { FastScanner fs = new FastScanner(System.in); int n = fs.nextInt(), x = fs.nextInt(); int a[] = fs.nextIntArray(n); int memo[] = new int[100100]; for(int i=0;i