Task: Program Execution
Input (English): 313, J, 41
Output (English): 1, 3