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.

[59, 292, 944, 902, 509, 143, 845, 479, 853, 139, 683]
[59, 509, 479, 853, 139, 683]

[911, 503, 271, 226, 719, 507, 342, 317, 121, 761, 770]
[911, 503, 271, 719, 317, 761]

[783, 649, 866, 313, 139, 641, 942, 762, 503, 739, 36, 746, 882, 557, 383, 972, 888, 44, 925, 829]

[313, 139, 641, 503, 739, 557, 383, 829]