Task: Program Execution
Input (English): 3903, D, 8949, 5139, 471, 4447, X, a, P, 5389, F, 2771, m, 3623, 8549
Output (English): 2, 7, 8, 9, 11, 13