The preorder traversal sequence of a binary search tree is $12 , 4 , 2 , 1 , 3 , 8 , 6 , 10 , 17 , 15 , 14 , 16 , 19 , 18 , 20$. If the sum of the value of nodes whose index values (position from beginning) of preorder and postorder traversals are same is $k,$ then the value of $k$ is _________