Task: Program Execution
Input (English): n, r, 7965, 559, T
Output (English): n, r, T, 7965, 559