Wrote a program to find the combination of a given number