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.

[73, 692, 149, 557, 400, 358, 11, 790, 577, 288, 89, 911, 244, 128, 706, 401, 886, 947]
[73, 149, 557, 11, 577, 89, 911, 401, 947]

[71, 89, 331, 23, 350, 510, 617]
[71, 89, 331, 23, 617]

[890, 564, 349, 52, 987, 391, 967, 331]

[349, 967, 331]