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: [277, 83, 991, 978, 936, 801]

Answer: [277, 83, 991]


Question: [337, 181, 678]

Answer: [337, 181]


Question: [924, 709, 18, 98, 197, 51, 457, 613, 463, 601, 346, 769, 73, 153, 621, 251, 397]

Answer:
[709, 197, 457, 613, 463, 601, 769, 73, 251, 397]