Task: Program Execution
Input (English): J, 8177, 2961
Output (English): 1