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.

[EX Q]: [277, 83, 991, 978, 936, 801]
[EX A]: [277, 83, 991]

[EX Q]: [99, 65, 899, 219, 586, 663, 839, 277, 173, 683, 71, 683, 739, 493, 490]
[EX A]: [839, 277, 173, 683, 71, 683, 739]

[EX Q]: [479, 151, 166, 819, 921, 118, 19, 937, 397, 226, 441, 591, 877, 675]
[EX A]:
[479, 151, 19, 937, 397, 877]