Task: Program Execution
Input (English): E, 323, 1843, 3515, 949, 4703, a
Output (English): 2, 3, 4, 5, 6