Task: Program Execution
Input (English): 4023, C, D, n, Q
Output (English): 4023