EPAM Systems interview question

Write code for getting combination of numbers.