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: [577, 941, 739, 367, 339, 607, 271, 299, 452, 523, 351, 307]
Example Output: [577, 941, 739, 367, 607, 271, 523, 307]

Example Input: [393, 808, 61, 281, 615, 982, 110, 359, 107, 769, 289]
Example Output: [61, 281, 359, 107, 769]

Example Input: [277, 70, 263, 96]
Example Output:
[277, 263]