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.

Input: Consider Input: [413, 829, 547, 350, 620, 887, 697, 31, 13]

Output: [829, 547, 887, 31, 13]


Input: Consider Input: [869, 67, 58, 853, 699, 197]

Output: [67, 853, 197]


Input: Consider Input: [311, 337, 438, 222, 539, 588, 244, 293, 701, 31, 337, 331, 996, 7]


Output: [311, 337, 293, 701, 31, 337, 331, 7]