Task: Program Execution
Input (English): n, C, 1871, a
Output (English): 1