Who invented basketball?
James Naismith designed the game of basketball in 1891 while he was teaching at the International YMCA Training School. On 15 January 1892, James Naismith published his rules for the game of "Basket Ball" that he invented. The original game played under these rules was quite different from the one played today as there was no dribbling, dunking, three-pointers, or shot clock, and goal tending was legal.
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.
Who invented basketball?

user
James Naismith designed the game of basketball in 1891 while he was teaching at the International YMCA Training School. On 15 January 1892, James Naismith published his rules for the game of "Basket Ball" that he invented. The original game played under these rules was quite different from the one played today as there was no dribbling, dunking, three-pointers, or shot clock, and goal tending was legal.
assistant