Task: Program Execution
Input (English): 4629, 4015, B, q, L, 5615, 2109, 1481, g, 1471, H, 3645
Output (English): 1, 2, 6, 7, 8, 10, 12