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: [785, 523, 728, 936]

A: [523]
****
Q: [557, 677, 824, 60]

A: [557, 677]
****
Q: [7, 490, 829, 311, 547, 249, 807, 562, 512, 104, 23, 853, 439, 397, 953, 347]

A:
[7, 829, 311, 547, 23, 853, 439, 397, 953, 347]
****