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.

[5, 465, 374, 41, 891, 118, 960, 175, 937, 211, 227]
[5, 41, 937, 211, 227]

[863, 131, 510, 943, 739, 71, 622, 683, 211, 530, 969, 619, 469, 992, 689, 111, 593]
[863, 131, 739, 71, 683, 211, 619, 593]

[740, 797, 587, 769, 968, 176, 317, 499, 928]

[797, 587, 769, 317, 499]