Task: Program Execution
Input (English): 8657, 7627, 4919, 5727, T, k, 3329, 1121
Output (English): 31380