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: [66, 279, 743, 321, 119, 984, 404, 907, 41, 20]

Answer: [743, 907, 41]


Question: [109, 693, 732, 360, 693, 311, 733, 963, 167, 903]

Answer: [109, 311, 733, 167]


Question: [83, 976, 406, 641, 227, 254, 571, 281, 277, 787, 269, 461, 279, 733, 659, 898, 17]

Answer:
[83, 641, 227, 571, 281, 277, 787, 269, 461, 733, 659, 17]