Task: Program Execution
Input (English): J, 4579, 4295, Z, 7161, t, G, n, l, w, 6297, 8339, 6579, q, F, 2199, 3181, G, q, x
Output (English): 10, 4579, 4295, 26, 7161, 20, 7, 14, 12, 23, 6297, 8339, 6579, 17, 6, 2199, 3181, 7, 17, 24