Task: Program Execution
Input (English): 8277, G, Q, H, G, 1473, A, 4271, 4503, 7891, 2071, 3255, 1895
Output (English): 1, 6, 8, 9, 10, 11, 12, 13