Task: Program Execution
Input (English): g, B, 5449, o, 1349, 6053, 3743, 9795, R, r, 865, 4987, 8943, V, X, 8653, i
Output (English): 1, 2, 4, 9, 10, 14, 15, 17