Task: Program Execution
Input (English): 6127, m, 8015, 1629, Q, 5725, D
Output (English): 2, 5, 7