Definition: In this task, you will be given a list of integers. You should remove all of the odd integers from the list(consider 0 an even number). If every integer in the input list is odd then an empty list ("[]") should be returned. Otherwise, answer with the list of even numbers separated by comma inside brackets.
Input: [-18, 4, 39, 87, 77, -89, -79, -63, -71, 2]

[-18, 4, 2]