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: [413, 829, 547, 350, 620, 887, 697, 31, 13]
Example Output: [829, 547, 887, 31, 13]

Example Input: [307, 593, 978, 101, 150, 241, 271, 942, 476, 497, 233, 716, 678, 13, 579, 874, 907, 281, 518]
Example Output: [307, 593, 101, 241, 271, 233, 13, 907, 281]

Example Input: [47, 818, 131, 945, 116, 903, 267, 199, 593, 982, 468, 599, 957, 949]
Example Output:
[47, 131, 199, 593, 599]