Task: Program Execution
Input (English): 9295, 7551, l, 6991, 939, 3419, 4487, 6485, 2845, 8415, 3051, 4605, 1793, 5191, X, 7947
Output (English): 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16