Task: Program Execution
Input (English): 785 5107 7727 G P 4305 5887 D 2485 689 3979 4291 4795 l v 8653 V 7525 455 e R M W O k G 5209 N 6479 n g 1017 547 h 1287 5839 6691
Output (English): 1, 2, 3, 6, 7, 9, 10, 11, 12, 13, 16, 18, 19, 27, 29, 32, 33, 35, 36, 37