Task: Program Execution
Input (English): 591, 2439, H, F, 2731, F, A, 1589, D, 4599, N, 8949, 777, 7777, 427, 1059, 9377, 91, 139, O, o, 6901
Output (English): 1, 2, 5, 8, 10, 12, 13, 14, 15, 16, 17, 18, 19, 22