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.
--------
Question: [271, 13, 709, 106, 374, 281]

Answer: [271, 13, 709, 281]


Question: [64, 3, 967, 257, 557, 933, 239, 899, 528, 256, 487, 757, 719, 919, 331, 222]

Answer: [3, 967, 257, 557, 239, 487, 757, 719, 919, 331]


Question: [559, 678, 163, 103, 937, 733, 823, 12, 658, 241, 84, 431, 145, 263, 739, 173, 340, 157, 150]

Answer:
[163, 103, 937, 733, 823, 241, 431, 263, 739, 173, 157]