Task: Program Execution
Input (English): r, 189, p, R, T
Output (English): 18, 189, 16, 18, 20