Task: Program Execution
Input (English): 2493, u, R, v, 4657, c, 3483, S
Output (English): 2493, 21, 18, 22, 4657, 3, 3483, 19