Santa Claus is starting to receive a lot of letters but they have some formatting problems. To improve readability, he will write a program that given a text, formats it according to the following rules:
Letters are written in English and here we have an example:
fixLetter(` hello, how are you?? do you know if santa claus exists? i really hope he does! bye `) // Hello, how are you? Do you know if Santa Claus exists? I really hope he does! Bye. fixLetter(" Hi Santa claus. I'm a girl from Barcelona , Spain . please, send me a bike. Is it possible?") // Hi Santa Claus. I'm a girl from Barcelona, Spain. Please, send me a bike. Is it possible?