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: [248, 790, 29, 227, 254, 163, 356, 971, 581, 521, 481, 773, 701, 53, 913, 92, 13, 437, 971]
Example Output: [29, 227, 163, 971, 521, 773, 701, 53, 13, 971]

Example Input: [487, 618, 757, 427, 757, 461, 86, 263, 911, 954, 447, 445, 866, 67, 248, 959, 833, 412]
Example Output: [487, 757, 757, 461, 263, 911, 67]

Example Input: [38, 383, 977, 181, 779, 967, 741, 769, 199, 113, 532, 149, 593, 131, 101, 18, 926, 112]
Example Output:
[383, 977, 181, 967, 769, 199, 113, 149, 593, 131, 101]