Task: Program Execution
Input (English): d, g, 5927, Q, v, V, L, 5473, j, 7221, 2377, s, m, 1717, 7887, g, 8545, h, T, 1383, s, 4921
Output (English): 4, 7, 5927, 17, 22, 22, 12, 5473, 10, 7221, 2377, 19, 13, 1717, 7887, 7, 8545, 8, 20, 1383, 19, 4921