Task: Program Execution
Input (English): 7041, 7999, d, J, c
Output (English): 1, 2