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.

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

A: [277, 83, 991]
****
Q: [192, 899, 596, 394, 55, 546, 559, 619, 936, 739, 735, 639, 732, 933, 337, 317, 730, 727]

A: [619, 739, 337, 317, 727]
****
Q: [331, 887, 426, 585, 821, 919, 113, 658, 401, 727, 829, 281, 337, 367, 28, 373, 209, 43]

A:
[331, 887, 821, 919, 113, 401, 727, 829, 281, 337, 367, 373, 43]
****