Assign the values 1 to 10 to the weights in the diagram so that everything balances as shown. Each number will be used exactly once. The path cannot go through the numbered squares, and will never loop back to touch itself, even diagonally. The S and G cells are part of the path. Each digit will be used exactly once.
Operations are to be performed strictly from left to right.
All intermediate results are whole numbers. Enter the dollar amount. Suppose that in an alternate universe the dollar bill is worth 60 cents, and there are coins in three different denominations, not necessarily cents, nickels, dimes, etc. The numbers outside the white grid indicate the sequence and size of consecutive cells used by the shapes in the corresponding row or column. For example, the clue for the fourth row is 2,3.