Check if there exists a number with X factors out of which exactly K are prime
Given two integers X and K, the task is to determine whether there exists a number that has exactly X factors out of which K is prime.Examples: Input: X = 8, K = 1 Output: Yes Explanation: The number is 128 Factors of 128 = {1, 2, 4, 8, 16, 32, 64, 128} which are 8 in count = X Among these, only 2 i