Task: Program Execution
Input (English): 1639, g, x
Output (English): 2, 3