5 4 10 7 10 0 1