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]: [461, 747, 645, 630, 440, 809, 652, 190, 863, 748, 764, 4, 443, 828, 973, 741, 676, 907, 874, 269]
[EX A]: [461, 809, 863, 443, 907, 269]

[EX Q]: [603, 302, 547, 331, 229, 276, 403, 745, 707, 168]
[EX A]: [547, 331, 229]

[EX Q]: [372, 5, 634, 347, 617, 230, 337, 2, 734, 603, 883, 257]
[EX A]:
[5, 347, 617, 337, 2, 883, 257]