Task: Program Execution
Input (English): 5185, 2919, 7361, 9837, 4509, 6769, a, 1987
Output (English): 38567