Print result on one line for one line results