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.

[421, 613, 847, 227, 638, 985, 229, 472, 660, 191, 836, 471, 516, 122, 591, 983, 841, 656]
[421, 613, 227, 229, 191, 983]

[904, 73, 539, 689, 227, 383, 26, 139, 787, 223, 887, 43, 821, 877, 510, 347, 307, 253, 54]
[73, 227, 383, 139, 787, 223, 887, 43, 821, 877, 347, 307]

[823, 503, 160, 799, 815, 167, 61, 325, 929, 353, 83, 379, 926, 829, 998, 196, 821, 355]

[823, 503, 167, 61, 929, 353, 83, 379, 829, 821]