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]: [763, 57, 509, 566, 435]
[EX A]: [509]

[EX Q]: [31, 537, 357, 400, 919]
[EX A]: [31, 919]

[EX Q]: [773, 244, 965, 677, 721, 6, 337, 645, 839, 471, 643, 197, 934, 232, 443, 184, 215, 192, 67]
[EX A]:
[773, 677, 337, 839, 643, 197, 443, 67]