Task: Program Execution
Input (English): e, m, 3667, k, 8793, M, 3565, 5745, 8199, 1041, U, F, 2823
Output (English): 5, 13, 3667, 11, 8793, 13, 3565, 5745, 8199, 1041, 21, 6, 2823