Task: Program Execution
Input (English): 8561 P R Z G j d k I F v X 8671 5449 q 3595 M k A O 9103 1085 s 4041 1447 777 7933 9745 Y v C
Output (English): 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 17, 18, 19, 20, 23, 29, 30, 31