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 Q]: [631, 557, 277, 273, 671, 431, 179, 911, 163, 253, 588, 215, 271]
[EX A]: [631, 557, 277, 431, 179, 911, 163, 271]

[EX Q]: [877, 463, 540]
[EX A]: [877, 463]

[EX Q]: [691, 709, 214, 478, 401, 356, 506, 113, 631, 397, 787, 96, 730, 901, 541, 470, 701, 113]
[EX A]:
[691, 709, 401, 113, 631, 397, 787, 541, 701, 113]