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.

[277, 888, 263, 883, 420, 818]
[277, 263, 883]

[537, 386, 6, 229, 127, 211, 800, 119, 647, 994]
[229, 127, 211, 647]

[133, 977, 540, 223, 51, 93, 157, 511, 873, 373]

[977, 223, 157, 373]