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.

Example Input: [773, 263, 753, 543, 427, 709, 179, 4, 857, 570, 569, 257, 269, 587]
Example Output: [773, 263, 709, 179, 857, 569, 257, 269, 587]

Example Input: [642, 557, 263, 882, 937, 793, 337, 983, 397, 281, 824, 313, 641, 408, 739, 661, 673, 360, 875]
Example Output: [557, 263, 937, 337, 983, 397, 281, 313, 641, 739, 661, 673]

Example Input: [322, 707, 808, 331, 241, 742, 78, 770, 919, 13, 479, 518, 166, 541, 853, 519, 773, 739, 971, 7]
Example Output:
[331, 241, 919, 13, 479, 541, 853, 773, 739, 971, 7]