Task: Mathematics
Input (English): 3581 @ 4487 @ 5621 @ 7486
Output (English): 21175