Task: Program Execution
Input (English): 7819, 8721, r, 2487, q, 8457, m, l, l, G, 9139, 9433, W, 5275
Output (English): 1, 2, 4, 6, 11, 12, 14