Task: Program Execution
Input (English): [1, 2, 4, 2, 1, 3, 3, 4, 6, 4]
Output (English): [6]