In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.

Example Input: [821, 337, 940, 587, 855, 554, 761, 401, 277, 631, 103, 770, 107]
Example Output: [821, 337, 587, 761, 401, 277, 631, 103, 107]

Example Input: [649, 709, 683, 487]
Example Output: [709, 683, 487]

Example Input: [461, 787, 693, 524, 918, 757, 652, 85, 910, 229, 895, 3, 444, 487, 430, 773, 574, 360, 47, 288]
Example Output:
[461, 787, 757, 229, 3, 487, 773, 47]