Task: Program Execution
Input (English): u, B, 1023, 1969, F, w
Output (English): 2992