Got proper output

Got it to output properly