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.

[845, 461, 381, 2, 248, 7, 223, 999]
[461, 2, 7, 223]

[929, 960, 862, 251, 421, 577, 11, 238, 769, 11, 379, 739, 883, 494, 266, 880, 115]
[929, 251, 421, 577, 11, 769, 11, 379, 739, 883]

[41, 37, 163, 907, 591, 38, 664, 550, 307, 271, 542, 269, 352, 254, 572, 633, 876, 317, 827]

[41, 37, 163, 907, 307, 271, 269, 317, 827]