Task: Mathematics
Input (English): 3679 @ 3989 @ 8728 @ 4098 @ 1337
Output (English): 21831