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.

Input: Consider Input: [217, 895, 596, 499, 273, 479, 743, 31, 67, 392, 811, 432, 549, 723, 701, 229]

Output: [499, 479, 743, 31, 67, 811, 701, 229]


Input: Consider Input: [822, 733, 31, 223, 800, 671, 891, 233, 299, 788, 88, 561]

Output: [733, 31, 223, 233]


Input: Consider Input: [597, 902, 755, 169, 353, 543, 331, 876, 257, 773, 23, 397, 733, 787, 943, 919, 982, 783, 244]


Output: [353, 331, 257, 773, 23, 397, 733, 787, 919]