Task: Program Execution
Input (English): 3187, g, x, u, R
Output (English): 3187