题意:对一个数不断施行如下操作,$\begin{matrix} f(x) & = & \left\{ \begin{matrix} \frac{x}{2} & \mbox{if } x \text{ is even} \\ x - 1 & \mbox{otherwise } \end{matrix} \right. \end{matrix}$,直到变成$1$,中途所有经过的数字组成的序列称为$path(x)$,例如$path(15) = [15, 14, 7, 6, 3, 2, 1]$。现在求一个最大的$x$,使得它在$path(1),path(2), \dots ,path(n)$中至少出现$k$次。$(1 \le k \le n \le 10^{18})$