Place a digit 1-9 in each cell such that no digit repeats in a row, column, or 3x3 box. Some digits have been given.
Additionally, draw a single loop along the edges of the cells such that:
- If a cell contains a 1, 2, or 3, then that many of its edges are part of the loop.
- Every 4 is inside the loop.
- Every 5 is outside the loop.
- No 2x2 square consists solely of cells inside the loop nor solely of cells outside the loop.
- The crossed-out edges are not part of the loop.