Task: Program Execution
Input (English): q, 6025, G, L
Output (English): 3