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.

[380, 121, 698, 389, 502, 791, 37, 58]
[389, 37]

[523, 680, 676, 573, 365, 367, 163, 935, 499, 992, 373, 220]
[523, 367, 163, 499, 373]

[433, 311, 692, 539, 833, 839, 79, 980, 179, 811, 595, 877, 601, 433, 547, 947, 930, 153, 643, 919]

[433, 311, 839, 79, 179, 811, 877, 601, 433, 547, 947, 643, 919]