Task: Program Execution
Input (English): G, j, x, 1029
Output (English): 4