Task: Program Execution
Input (English): J, v, 7105, r, y, y, 6313, 3671
Output (English): 10, 22, 7105, 18, 25, 25, 6313, 3671