Task: Program Execution
Input (English): J, 8585, T, 9947, 2275, 7577, 7651, 4841, 9491, N, 8437
Output (English): 10, 8585, 20, 9947, 2275, 7577, 7651, 4841, 9491, 14, 8437