Paths

Logic puzzle

1
0
2
2
1
2
2
0