Task: Program Execution
Input (English): m, f, Y, 9185, 5219, 2847, 5629, K, 6809, T, b, B, 6679, 5349, B, Q, d, z, 2639, M, 8045, 4785, w
Output (English): 9185, 5219, 2847, 5629, 6809, 6679, 5349, 2639, 8045, 4785