EPAM Systems Interview Question

Write code for printing duplicate numbers in a list.