Task: Program Execution
Input (English): n, 3983, g, u
Output (English): 3983