Task: Program Execution
Input (English): 3365, 4165, V, 1151, 6757, y, 5067, N, b, d, U, W, 7845
Output (English): 28350