Task: Program Execution
Input (English): [51, 118, 17, 138, 50, 27]
Output (English): [51, 17, 27]