Task: Program Execution
Input (English): g, 2807, Q, g, 5531, 2699, 2425
Output (English): 13462