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: [120, 509]

Answer: [509]


Question: [73, 692, 149, 557, 400, 358, 11, 790, 577, 288, 89, 911, 244, 128, 706, 401, 886, 947]

Answer: [73, 149, 557, 11, 577, 89, 911, 401, 947]


Question: [928, 860, 803, 904, 819, 766, 836, 101, 419, 313, 920, 673, 317, 293]

Answer:
[101, 419, 313, 673, 317, 293]