Task: Program Execution
Input (English): G, 2023, 2315, 1181
Output (English): 7, 2023, 2315, 1181