Task: Program Execution
Input (English): 9595 4901 5307 B 2319 2809 9663 a q 811 B c 1013 8413 i P Q 3745 8937 n x 6789 S o 4329 A N J 8687 P 5137 W 761 w D 5895 l 5963
Output (English): 1, 2, 3, 5, 6, 7, 10, 13, 14, 18, 19, 22, 25, 29, 31, 33, 36, 38