Task: Program Execution
Input (English): x, Z, X, 8471, b, 7889, w, 9919, q, 6359, 1429, V
Output (English): 24, 26, 24, 8471, 2, 7889, 23, 9919, 17, 6359, 1429, 22