What were the origins of basketball?
James Naismith, a gym instructor in New England, invented basketball in 1891 as an alternative to football. The original basketball game involved throwing a ball into a peach basket. Since then, the game has progressed to become one of the most popular sports in the world.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
What were the origins of basketball?

user
James Naismith, a gym instructor in New England, invented basketball in 1891 as an alternative to football. The original basketball game involved throwing a ball into a peach basket. Since then, the game has progressed to become one of the most popular sports in the world.
assistant