Input The input will be always three lines. Each line containing three numbers from 1 to 9 separated by white spaces. The input will be always three lines. Each line containing three numbers from 1 to 9 separated by white spaces.
Output The output will print a single line when the square is valid: This is a valid sudoku
Otherwise the output will print a different single line followed by a variable number of lines containing the missing numbers (one number per line) ordered: This is an invalid sudoku. Missing numbers are:
Input
1 2 3 4 5 6 7 8 9
Output
This is a valid sudoku
Input
1 1 2 3 4 5 5 6 7
Output
This is an invalid sudoku. Missing numbers are: 8 9