Task: Program Execution
Input (English): F 3035 3717 m V O 7889 N 6973 6095 G 4839 G 7897 4059 d C 2881 k 843 8471 E 8973 4053 3763 9881 675 T q 5923 H g
Output (English): 6, 3035, 3717, 13, 22, 15, 7889, 14, 6973, 6095, 7, 4839, 7, 7897, 4059, 4, 3, 2881, 11, 843, 8471, 5, 8973, 4053, 3763, 9881, 675, 20, 17, 5923, 8, 7