Task: Mathematics
Input (English): 1487 @ 1407 @ 4682 @ 9727 @ 9556
Output (English): 26859