Task: Mathematics
Input (English): 604 @ 7395 @ 8471 @ 8614 @ 8338 # 9541
Output (English): 23881