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: [490, 879, 241, 587, 557, 146, 947, 424, 103]
Example Output: [241, 587, 557, 947, 103]

Example Input: [603, 302, 547, 331, 229, 276, 403, 745, 707, 168]
Example Output: [547, 331, 229]

Example Input: [829, 119, 579, 333, 819, 335, 405, 517, 14, 390, 139, 463, 977, 215, 89, 322, 223, 839]
Example Output:
[829, 139, 463, 977, 89, 223, 839]