Task: Program Execution
Input (English): F, y, 5851, A, 757, 7149, D, 395, F
Output (English): 6, 25, 5851, 1, 757, 7149, 4, 395, 6