Task: Program Execution
Input (English): 703, q, p, 7931, m, l, 5333, M, b, 2601, m, 2911, 7351, 1711, H
Output (English): 2, 3, 5, 6, 8, 9, 11, 15