Task: Program Execution
Input (English): x, 6951, z, c, 9507
Output (English): 16458