Domino Castle with Sums

Rules

Place the given dominoes into the shape. Values in the halves which touch each other must be the same. Numbers outside show the sum of all digits which are in the corresponding row or column.

Click to see the answer.