Task: Program Execution
Input (English): 2401, 8357, w, N, J, 3373
Output (English): 14131