Task: Program Execution
Input (English): 9635 J 895 T d 3723 5503 3823 7185 7411 51 V 6991 7859 7827 6053 z 477 8731 g 8607 4571 7565 9437 3895 b Q I O 3439 c 2559 3087
Output (English): 2, 4, 5, 12, 17, 20, 26, 27, 28, 29, 31