Task: Program Execution
Input (English): n, T, 9207, 4953
Output (English): 14160