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: [967, 853, 227, 73, 727, 741, 757, 413, 269, 864, 61, 427, 403, 863, 307, 417]
Example Output: [967, 853, 227, 73, 727, 757, 269, 61, 863, 307]

Example Input: [29, 199, 436, 719, 839, 183, 907, 621, 660, 870, 688, 834, 133, 639, 761, 245, 196, 523, 908, 59]
Example Output:
[29, 199, 719, 839, 907, 761, 523, 59]