Task: Program Execution
Input (English): N, J, 6603
Output (English): 6603