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: [334, 24, 262, 758, 101, 107, 769]
Example Output: [101, 107, 769]

Example Input: [67, 363, 587, 770, 345, 79, 4, 280, 661, 839, 954, 59, 56]
Example Output: [67, 587, 79, 661, 839, 59]

Example Input: [29, 12, 379]
Example Output:
[29, 379]