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.

[511, 250, 811, 874, 37]
[811, 37]

[894, 721, 554, 468, 114, 43, 804, 266]
[43]

[402, 499, 641, 931, 414, 984, 201, 773]

[499, 641, 773]