Task: Program Execution
Input (English): V 2939 3831 3967 5091 J 8905 4753 g 6485 3299 9903 1671 7801 1179 9333 C g 6473 d 5385 G 4845 5823 1827 9961 Z 1141 133
Output (English): 22, 2939, 3831, 3967, 5091, 10, 8905, 4753, 7, 6485, 3299, 9903, 1671, 7801, 1179, 9333, 3, 7, 6473, 4, 5385, 7, 4845, 5823, 1827, 9961, 26, 1141, 133