Task: Mathematics
Input (English): 6475 @ 5108 @ 6769 @ 2718 @ 609 @ 9675
Output (English): 31354