Task: Mathematics
Input (English): 6594 @ 5009 @ 4753 @ 4339
Output (English): 20695