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]: [233, 4, 643, 506]
[EX A]: [233, 643]

[EX Q]: [494, 320, 532, 567, 907, 269, 431, 538]
[EX A]: [907, 269, 431]

[EX Q]: [367, 347, 13, 195, 652, 635, 599, 379, 528, 769, 390, 599, 819]
[EX A]:
[367, 347, 13, 599, 379, 769, 599]