Task: Program Execution
Input (English): n o 1245 I G 5729 4183 J E 6801 M 4761 d e 9591 1897 9871 5575 L g 4955 1829 H 7619 49 7343 7547 8675 8097 d G 453 D v
Output (English): 14, 15, 1245, 9, 7, 5729, 4183, 10, 5, 6801, 13, 4761, 4, 5, 9591, 1897, 9871, 5575, 12, 7, 4955, 1829, 8, 7619, 49, 7343, 7547, 8675, 8097, 4, 7, 453, 4, 22