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]: [737, 965, 183, 83, 607]
[A]: [83, 607]


[Q]: [763, 57, 509, 566, 435]
[A]: [509]


[Q]: [379, 282, 553, 509, 582, 409, 662, 640, 464, 430, 238, 277]
[A]:
[379, 509, 409, 277]