Task: Program Execution
Input (English): Q, 2143, 4575, f
Output (English): 6718