Task: Program Execution
Input (English): m 6253 9305 N r 5439 g 5699 4907 3567 4561 h j I J t 773 8029 8315 V 6843 2869 R I 6405
Output (English): 13, 6253, 9305, 14, 18, 5439, 7, 5699, 4907, 3567, 4561, 8, 10, 9, 10, 20, 773, 8029, 8315, 22, 6843, 2869, 18, 9, 6405