Task: Program Execution
Input (English): 7819, 7795, Y, 9645, V, 9397, M
Output (English): 7819, 7795, 25, 9645, 22, 9397, 13