Divide the grid into 9 kingdoms of orthogonally connected cells. Fill the grid with the digits 1-9 so that each digit appears once in each row, column and kingdom. A digit on a castle indicates exactly how many castles contain that digit. Every kingdom has a score, representing how powerful it is. This is calculated by adding the number of castles the kingdom contains to the number of neighbouring kingdoms it borders. (Two kingdoms are considered neighbours if they share at least one orthogonal edge.) A digit in a blue square indicates its kingdom's score. No two kingdoms have the same score. A bridge connects two digits in different kingdoms, and they will either sum to 5, sum to 10, or be in a 1:2 ratio (ie one digit will be double the other).