Task: Program Execution
Input (English): 5375, 8319, D, 5961, n, 2339, p, 2373, i, 7805, V, m, o, X, u, H, 7941, X, q
Output (English): 5375, 8319, 4, 5961, 14, 2339, 16, 2373, 9, 7805, 22, 13, 15, 24, 21, 8, 7941, 24, 17