Task: Program Execution
Input (English): B B Z f D 7617 J 5995 d 4233 2773 e J y 8055 861 8861 7207 A y 8791 63 7311 4277 g 1461 R 3441
Output (English): 2, 2, 26, 6, 4, 7617, 10, 5995, 4, 4233, 2773, 5, 10, 25, 8055, 861, 8861, 7207, 1, 25, 8791, 63, 7311, 4277, 7, 1461, 18, 3441