Task: Program Execution
Input (English): 495 2845 p 3783 4537 4779 2381 C 9839 D 1639 p a p 8943 9687 4841 Q j v q 4671 2753 1329 6991 7665 z 5429 5021 D 5925 4637 1893 A k Y H 8231 9003
Output (English): 1, 2, 4, 5, 6, 7, 9, 11, 15, 16, 17, 22, 23, 24, 25, 26, 28, 29, 31, 32, 33, 38, 39