Task: Program Execution
Input (English): c, q, N, 6847, V, 5035, E, F, s, z, G
Output (English): 3, 17, 14, 6847, 22, 5035, 5, 6, 19, 26, 7