a b 1 2 2 3 1 7