Task: Program Execution
Input (English): C, h, 9043, J, 9913, H, F, 6815, B, 4177, 2681, 1631, 3567, 4855, 9841, 1367, O, z
Output (English): 1, 2, 4, 6, 7, 9, 17, 18