Task: Program Execution
Input (English): f, 1287, 4749, Z, N, P, 5427, 3573, 4883, 6355, B, 2901, A, p, a, c, 1327, V, F, 873, 5635, 7393
Output (English): 6, 1287, 4749, 26, 14, 16, 5427, 3573, 4883, 6355, 2, 2901, 1, 16, 1, 3, 1327, 22, 6, 873, 5635, 7393