Task: Program Execution
Input (English): R, T, H, v, 6345, f, R, c
Output (English): 18, 20, 8, 22, 6345, 6, 18, 3