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: [71, 89, 331, 23, 350, 510, 617]
Example Output: [71, 89, 331, 23, 617]

Example Input: [163, 133, 782, 293, 503, 751, 390]
Example Output: [163, 293, 503, 751]

Example Input: [657, 227, 414, 887, 781, 911, 7, 553, 163, 147, 462, 241, 478, 223, 613]
Example Output:
[227, 887, 911, 7, 163, 241, 223, 613]