Task: Program Execution
Input (English): q, w, 8263, g, 4691, H, h, 5245, 9019, 2119, R, R
Output (English): 1, 2, 4, 6, 7, 11, 12