Task: Program Execution
Input (English): 6417, 7757, B, W, 6477, F, A, 3113, x
Output (English): 23764