EPAM Systems Interview Question

Write code for getting combination of numbers.