Task: Program Execution
Input (English): [367, 246, 508, 14, 841]
Output (English): [367]