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: [317, 105, 677, 839]
Example Output: [317, 677, 839]

Example Input: [104, 191, 709, 245, 433, 937, 324, 619, 62, 25, 719, 404, 867, 146, 709, 431, 481]
Example Output: [191, 709, 433, 937, 619, 719, 709, 431]

Example Input: [191, 874, 244, 941, 953, 883, 631, 43, 631, 23, 509, 379, 19, 83, 543, 396, 732, 875, 20, 433]
Example Output:
[191, 941, 953, 883, 631, 43, 631, 23, 509, 379, 19, 83, 433]