Task: Program Execution
Input (English): 37, 6841, 7339, 8849, 2417, Q, n, 549, P, S, 5093, 9583, D, g, 9487, U, C, 7055, 6579, 8881
Output (English): 1, 2, 3, 4, 5, 8, 11, 12, 15, 18, 19, 20