Task: Mathematics
Input (English): 2197 @ 9071 @ 1995 @ 4763
Output (English): 18026