Sample input:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b
Output:
2 3 4 5 6 4 3 2
1 1 1 1 0 1 1 1
0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
-1 -1 -1 -1 -1 -1 -1 -1
-2 -3 -4 -5 -6 -4 -3 -2
1 to 6 or -1 to -6 stands for different ranks in chess and 0 stands for rmpty location.