This solution counts fires with the triplex, and checks if there is at least one water. This leaves 4 remaining possibilities to check in the worst case, which are easy to brute force. Fun fact, the Critelli and the hex below it are unused in the worst case of all water.