A random variable X follows a binomial distribution with parameters n and p, where n is a positive integer and 0<p<1. The sum of the mean and the variance of X is 12, and the mean exceeds the variance by 4. If P(X≤2)=216k, find the value of k. The answer is an integer, so no rounding is needed.