Outputing data in 5 values separated by spaces format