Task: Program Execution
Input (English): 9779, Q, W, 6325, e, 1283, 8997, a, 493, 365, z, W, f, 1113, 2237, Z, 795, 6357, r, G, f, g
Output (English): 9779, 17, 23, 6325, 5, 1283, 8997, 1, 493, 365, 26, 23, 6, 1113, 2237, 26, 795, 6357, 18, 7, 6, 7