Task: Program Execution
Input (English): G I A 6405 I X 6817 L 7637 m F u 8179 p a n A 5429 615 5131 9103 3743 s n X d 4441 6621 3369 2963 1383
Output (English): 7, 9, 1, 6405, 9, 24, 6817, 12, 7637, 13, 6, 21, 8179, 16, 1, 14, 1, 5429, 615, 5131, 9103, 3743, 19, 14, 24, 4, 4441, 6621, 3369, 2963, 1383