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: [277, 83, 991, 978, 936, 801]
Example Output: [277, 83, 991]

Example Input: [147, 733, 887, 923, 197, 499, 311]
Example Output: [733, 887, 197, 499, 311]

Example Input: [271, 867, 973, 514, 49, 823, 787, 905, 757, 310, 917, 80, 900, 59, 931, 431, 271]
Example Output:
[271, 823, 787, 757, 59, 431, 271]