Task: Program Execution
Input (English): J, 5753, 1559, 9187
Output (English): 3