Desired out put file is :

Product price1 price2 price3 price4
101 399 699 999 1099
102 499 699 799 1299
103 599 899
104 1199