Task: Program Execution
Input (English): 7391, D, J
Output (English): 1