Task: Program Execution
Input (English): H, 5795, f, 6965, 8637, 9971, K, 473, M, 3701, 2985, 1949
Output (English): 2, 4, 5, 6, 8, 10, 11, 12