- The first line has a single integer K representing the maximum moves
- There are 2n+1 lines following the first line
- The first n of these lines has the starting configuration
- The next line has the delimiter --------
- The last n lines represent the ending configuration
- Both the starting configuration and the ending configuration have n lines of n space seperated integers representing the boards
- 0 represents empty cells and other cells have numbers representing filled cells