Task: Program Execution
Input (English): [462, 478, 53, 121, 365, 324, 51, 477, 150, 298, 12, 408, 409, 25, 401, 234, 366, 274, 145, 49, 353, 183, 249, 458, 314]
Output (English): 298