Task: Program Execution
Input (English): G, m, 9365, I
Output (English): 7, 13, 9365, 9