Task: Program Execution
Input (English): 1351, f, 9795, 6651
Output (English): 17797