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: [2, 288, 364, 227, 209, 156, 702]

A: [2, 227]
****
Q: [761, 249, 347, 273, 877, 344, 73, 725]

A: [761, 347, 877, 73]
****
Q: [821, 479, 494, 568, 378, 375, 757, 403, 55, 467, 757, 397, 79, 181, 719, 742, 821]

A:
[821, 479, 757, 467, 757, 397, 79, 181, 719, 821]
****