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.

[144, 523, 606, 391]
[523]

[142, 269, 33, 912, 908, 784, 414, 883, 337, 582, 727]
[269, 883, 337, 727]

[203, 74, 696, 761, 983, 953, 971, 67, 532, 937, 831, 161, 577, 482, 383, 211, 37, 919, 626, 883]

[761, 983, 953, 971, 67, 937, 577, 383, 211, 37, 919, 883]