Task: Program Execution
Input (English): s, g, 2189, 4261, 4019, G, 4719, u, 4151, Z
Output (English): 19, 7, 2189, 4261, 4019, 7, 4719, 21, 4151, 26