<image>In a calendar where each week is arranged in a row of seven days, a $$3×3$$ block is taken out (as shown in the figure). If the sum of all the dates in the block is $$189$$, find the value of $$n$$.

