{groupFirst() ? (
<>
(
{mode() === "add" ? "+" : "×"}
)
{mode() === "add" ? "+" : "×"}
>
) : (
<>
{mode() === "add" ? "+" : "×"}
(
{mode() === "add" ? "+" : "×"}
)
>
)}
=
{() => }
{total() > 48 ? (
+{total() - 48} more
) : null}
Brackets show which pair to combine first. Different groupings give the same final answer.