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, 574, 455, 107, 187]
[EX A]: [233, 107]

[EX Q]: [109, 492, 241, 494, 181, 129, 480, 149]
[EX A]: [109, 241, 181, 149]

[EX Q]: [307, 121, 312, 870, 74, 515, 587, 227, 703, 613, 4, 461, 7, 580, 661, 790, 127]
[EX A]:
[307, 587, 227, 613, 461, 7, 661, 127]