Task: Program Execution
Input (English): J, 8363, q, Y
Output (English): 10, 8363, 17, 25