Task: Program Execution
Input (English): y, N, 7903, 2291, H, M, n, 1021, 607, t, 7801, 5295, H, q, T
Output (English): 3, 4, 8, 9, 11, 12