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]: [813, 648, 5, 122, 533, 367, 653, 101, 257, 523, 146, 413, 397, 278, 488, 635, 104, 859, 359]
[EX A]: [5, 367, 653, 101, 257, 523, 397, 859, 359]

[EX Q]: [3, 590, 953, 163, 614, 131, 419, 222, 23, 257, 278, 853, 874, 127, 43]
[EX A]: [3, 953, 163, 131, 419, 23, 257, 853, 127, 43]

[EX Q]: [278, 104, 643, 67, 337, 467, 712, 97, 719, 23, 871, 251, 111, 440, 434, 41, 84]
[EX A]:
[643, 67, 337, 467, 97, 719, 23, 251, 41]