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.

Example Input: [563, 283, 487, 787, 29, 73, 644]
Example Output: [563, 283, 487, 787, 29, 73]

Example Input: [65, 211, 397, 167, 397, 213]
Example Output: [211, 397, 167, 397]

Example Input: [457, 158, 283, 256, 659, 636, 773]
Example Output:
[457, 283, 659, 773]