Task: Program Execution
Input (English): F, S, A, 6403, B, 9313, 9165, v, 6865, H, K, v, g, 9895, s, 4633, m, P
Output (English): 6, 19, 1, 6403, 2, 9313, 9165, 22, 6865, 8, 11, 22, 7, 9895, 19, 4633, 13, 16