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.

[120, 509]
[509]

[63, 803, 409, 419, 631, 578, 682, 731, 793, 221, 419, 718, 821]
[409, 419, 631, 419, 821]

[504, 481, 510, 314, 727, 892, 51, 427, 313, 466, 805, 967, 917, 967]

[727, 313, 967, 967]