Task: Program Execution
Input (English): 4387, j, o, q, a, i, 7085, 7943, K, y, N, W, S, 3425, w, 7733, 8505
Output (English): 39078