Task: Program Execution
Input (English): 9719 I s 2897 W 1791 4043 6747 7443 1899 7491 S b j A F 6285 H 8365 g z T e 1009 l 6955 W 5721 t 2017 T V 133 1065 9901 P 5045 h s 1761
Output (English): 1, 4, 6, 7, 8, 9, 10, 11, 17, 19, 24, 26, 28, 30, 33, 34, 35, 37, 40