Task: Program Execution
Input (English): 3731, 565, w, V, t, R, x, 8611
Output (English): 1, 2, 8