Task: Program Execution
Input (English): Q, 3911, k, H, Z, b, 2171, d, 1815, J, u, Q, Q, W, a, 1609, 727, p, 7521, B, 3703
Output (English): 3911, 2171, 1815, 1609, 727, 7521, 3703