Output format not clear to me

Please explain the output format . Can’t understand it

You just have to enter one integer per test case. I.e no of ways to fill the grid.