Task: Program Execution
Input (English): 6419, t, w, 9231, j, h, F, 6491, M, F, 4567, w, 4775, j, 7797, 877, N
Output (English): 6419, 20, 23, 9231, 10, 8, 6, 6491, 13, 6, 4567, 23, 4775, 10, 7797, 877, 14