{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003eThis and all following tasks are devoted to stories about a girl who has played an important role in the lives of the authors. It all began like this: During one of hundreds of absolutely unimportant lectures, senior student was evenly distributing Sudoku puzzles around herself. Sasha was also given one, and that was a preposition to speak. --- \u003cem\u003eI hope this is the most di\u001efficult level\u003c/em\u003e? --- \u003cem\u003eJust for you\u003c/em\u003e. --- \u003cem\u003eWell, well\u003c/em\u003e, --- seeing a deep irony in her eyes and the fact that the fi\u001crst three lines are already fi\u001clled. --- \u003cem\u003eIf you solve this one, I\u0027ll give you another\u003c/em\u003e. --- \u003cem\u003eI won\u0027t just solve this, but I will say how many solutions exist\u003c/em\u003e, --- said Sasha boastfully, not knowing what a problem he has created for himself. --- \u003cem\u003eWell, well, we\u0027ll see\u003c/em\u003e. The next two days Sasha was engaged only in looking for number of solutions for sudoku. By the way, sudoku is a puzzle in which it is proposed to fi\u001cll a \u003cstrong\u003e9\u003c/strong\u003e×\u003cstrong\u003e9\u003c/strong\u003e table with numbers from \u003cstrong\u003e1\u003c/strong\u003e to \u003cstrong\u003e9\u003c/strong\u003e so that in every row, column and each of the \u003cstrong\u003e9\u003c/strong\u003e squares \u003cstrong\u003e3\u003c/strong\u003e×\u003cstrong\u003e3\u003c/strong\u003e, all the numbers were different. Initially, some cells are already fi\u001clled and you are to write the numbers in empty cells. --- \u003cem\u003eAnd what was the girl\u0027s name, again\u003c/em\u003e? --- \u003cem\u003eOh\u003c/em\u003e...\u003c/p\u003e\n\n\u003cp\u003e\u003ch2\u003eInput\u003c/h2\u003e\u003c/p\u003e\n\n\u003cp\u003eThere are \u003cstrong\u003e3\u003c/strong\u003e lines, consisting of \u003cstrong\u003e9\u003c/strong\u003e integers from \u003cstrong\u003e1\u003c/strong\u003e to \u003cstrong\u003e9\u003c/strong\u003e in each. Those are \u001cfirst three lines of Sudoku.\u003c/p\u003e\n\n\u003cp\u003e\u003ch2\u003eOutput\u003c/h2\u003e\u003c/p\u003e\n\n\u003cp\u003eThe only number: number of solutions. It is guaranteed that at least one solution exists.\u003c/p\u003e\n\n"}}]}