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: [73, 692, 149, 557, 400, 358, 11, 790, 577, 288, 89, 911, 244, 128, 706, 401, 886, 947]

A: [73, 149, 557, 11, 577, 89, 911, 401, 947]
****
Q: [248, 790, 29, 227, 254, 163, 356, 971, 581, 521, 481, 773, 701, 53, 913, 92, 13, 437, 971]

A: [29, 227, 163, 971, 521, 773, 701, 53, 13, 971]
****
Q: [223, 761, 839, 29, 836, 532, 383, 101, 608, 391, 476, 292, 277, 866, 683, 883, 478, 768, 431, 883]

A:
[223, 761, 839, 29, 383, 101, 277, 683, 883, 431, 883]
****