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.

Ex Input:
[685, 351, 809, 116, 973, 29, 601, 889, 792, 643]

Ex Output:
[809, 29, 601, 643]


Ex Input:
[845, 461, 381, 2, 248, 7, 223, 999]

Ex Output:
[461, 2, 7, 223]


Ex Input:
[115, 711, 428, 269, 389, 853, 595, 141, 977, 199, 104, 837, 823, 540, 947, 307, 931, 638, 311, 287]

Ex Output:

[269, 389, 853, 977, 199, 823, 947, 307, 311]