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]: [814, 5, 3, 289, 833, 197, 359, 598, 271, 743, 838, 411, 344, 469, 3]
[EX A]: [5, 3, 197, 359, 271, 743, 3]

[EX Q]: [523, 680, 676, 573, 365, 367, 163, 935, 499, 992, 373, 220]
[EX A]: [523, 367, 163, 499, 373]

[EX Q]: [3, 290, 229]
[EX A]:
[3, 229]