Changes output to follow question's output format