SpongeBob has been learning about the defer statement! He's created a Go program that takes a name (of the string type) as input and prints it in reverse. Unfortunately, he forgot to add one necessary defer statement and delete some unnecessary ones!
Please help SpongeBob fix his code so his program can work properly. The expected output of his program is the following:
Your name is: SpongeBob
Reversed name: boBegnopS