Task: Program Execution
Input (English): Z, 6149, c, F, 2939, m, 7473, 737, n, n, p, V, M, b, 8639, 4529, 51, 4003
Output (English): 26, 6149, 3, 6, 2939, 13, 7473, 737, 14, 14, 16, 22, 13, 2, 8639, 4529, 51, 4003