add corret answer and add code

add corret answer and add code for print newline