Task: Program Execution
Input (English): z, c, 13, 8785, a, J
Output (English): 8798