Task: Program Execution
Input (English): 7259, H, i, I, 1297, w, 781, M, d, 1015, 9597
Output (English): 2, 3, 4, 6, 8, 9