3 6 10 7 2 0 0 16 12