in reply to match the second column and print rest of the column in horizontal form
So what code have you already written and how does it fail to produce what you need?