Task: Program Execution
Input (English): N, 9483, 843, J, F, b
Output (English): 10326