english-26 The Nearest Number
描述
Given a sequence of N number and K. Find the nearest number X in the sequence that the absolute value of (X minus K) is minimum.
输入
First line: two positive integers N (N <= 100) and K (K <= 100000).Second line: N positive integers (<= 100000).
输出
One integer X.
样例输入
样例输出
限制