Task: Program Execution
Input (English): 821, 2401, 6423, h, k, E, b, 2917, q, 8547, u, 109, 661, v, 3599, V, V
Output (English): 821, 2401, 6423, 2917, 8547, 109, 661, 3599