Dateri has a magic sequence and LowbieH is interested in it. Dateri promises that if LowbieH can answer his question, then he will play fencing with LowbieH. We denote the magic sequence by \(\{a_n\}\) and Dateri will choose a lucky number \(k\). He asks LowbieH to find length of the longest **consecutive subsequence** such that the absolute difference between any two number in the subsequence should not exceed \(k\). Can you help LowbieH?