Task: Program Execution
Input (English): 39, e, x, q
Output (English): 3, 9