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: [247, 7, 474, 191, 509, 835]

Output: [7, 191, 509]


Input: Consider Input: [294, 400, 681, 593, 22, 26, 877, 677, 911, 716, 292, 191, 57, 508, 528, 445]

Output: [593, 877, 677, 911, 191]


Input: Consider Input: [998, 674, 242, 409, 216, 919, 909, 733, 842, 222, 647, 907]


Output: [409, 919, 733, 647, 907]