Task: Program Execution
Input (English): T, c, 4621, 7231, X, A, 6461, r
Output (English): 4621, 7231, 6461