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.

[494, 320, 532, 567, 907, 269, 431, 538]
[907, 269, 431]

[606, 608, 290, 163]
[163]

[883, 673, 915, 508, 557, 646, 211, 911, 809, 647, 337, 463, 880, 373, 947, 88, 592, 779]

[883, 673, 557, 211, 911, 809, 647, 337, 463, 373, 947]