Task: Program Execution
Input (English): V 413 E A 1575 9079 1845 I M a 4089 9243 3737 g I M 9799 7757 3383 k 3905 2951 g 4875 x E N z
Output (English): 22, 413, 5, 1, 1575, 9079, 1845, 9, 13, 1, 4089, 9243, 3737, 7, 9, 13, 9799, 7757, 3383, 11, 3905, 2951, 7, 4875, 24, 5, 14, 26