Task: Program Execution
Input (English): 5047, f, 2365, s
Output (English): 7412