TASK DEFINITION: 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.
PROBLEM: [172, 499, 465, 751, 277, 609, 761]

SOLUTION: [499, 751, 277, 761]

PROBLEM: [494, 320, 532, 567, 907, 269, 431, 538]

SOLUTION: [907, 269, 431]

PROBLEM: [617, 827, 2, 573, 953, 993, 248, 904, 79, 278, 243, 381, 99, 269]

SOLUTION:
[617, 827, 2, 953, 79, 269]