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.

[29, 199, 436, 719, 839, 183, 907, 621, 660, 870, 688, 834, 133, 639, 761, 245, 196, 523, 908, 59]
[29, 199, 719, 839, 907, 761, 523, 59]

[705, 510, 853, 304]
[853]

[581, 320, 587, 379, 170, 113, 578, 117, 787, 293, 607, 597, 211, 487, 267, 615]

[587, 379, 113, 787, 293, 607, 211, 487]