Task: Program Execution
Input (English): 3641 511 E 2873 8943 O 7587 6955 1673 5841 5165 1781 a D V 3983 8779 8655 I 7003 2829 K 1039 5683 a 199 s N J M R 6333 5549 d
Output (English): 3, 6, 13, 14, 15, 19, 22, 25, 27, 28, 29, 30, 31, 34