I have a text file with the following format. The first line is the \"KEY\" and the second line is the \"VALUE\".
KEY 4048:1736 string 3 KEY 0:1772 string 1
Simplest way is here:
sed '0~2d' file > 1 && sed '1~2d' file > 2 && paste -d " " 1 2