Task: Program Execution
Input (English): v 7451 1763 2803 v n 4817 1435 M N N 5361 4543 4359 g L A 6331 7137 809 t 9321 6089 5531 3879 7707
Output (English): 22, 7451, 1763, 2803, 22, 14, 4817, 1435, 13, 14, 14, 5361, 4543, 4359, 7, 12, 1, 6331, 7137, 809, 20, 9321, 6089, 5531, 3879, 7707