ReverseWords small input/output