Task: Program Execution
Input (English): w N B P O 397 P 1405 i o 4961 1185 5491 5249 3257 9549 1357 e 4825 1739 v 2633 7997 F 4477 4885 j I 6749 1673 977 6965 4835 777 d 2443 R 6817 g 5539
Output (English): 6, 8, 11, 12, 13, 14, 15, 16, 17, 19, 20, 22, 23, 25, 26, 29, 30, 31, 32, 33, 34, 36, 38, 40