Task: Program Execution
Input (English): [42, 3, 64, 84, 96, 186, 77]
Output (English): [3, 77]