you are given n characters in a line task join all the characters and print them in a single line