iCIMS Interview Question

Write a program that, given an array of integers A, returns an array containing each number that appeared multiple times in A.