Task: Program Execution
Input (English): 8649, 7279, U, 9971, 2907, 1739, h, 8893, 7941, Y, 8835, J, 1171, b, G, d, s, 8047, i, D
Output (English): 1, 2, 4, 5, 6, 8, 9, 11, 13, 18