Task: Program Execution
Input (English): 2709, 9781, a, 4645, 2787, m, Z, 4193, m, 6697, Q, 8219, 6041, u
Output (English): 8