<｜begin▁of▁sentence｜>### Instruction:
Imagine we're in a classroom where each little one represents a webpage, and the way they pass toys to each other shows the direction of a web link from one page to another. Now, our set of toy-passing sequences are as follows: the first child passes a toy to the second, then to the third; the third child passes it back to the first and also to the second; and finally, the fourth child gives a toy to the third.

In this playful scenario, we'd like to figure out which of our preschoolers is the best at sharing their toys (acting as a hub) and who is the most popular receiver of toys (acting as an authority). Can you help us discern these special roles in our classroom by using our toy-passing pattern?
### Response:
import networkx as nx

# Create a directed graph
G = nx.DiGraph()
G.add_edges_from([(1, 2), (1, 3), (3, 2), (3, 1), (4, 3)])

# Compute HITS hubs and authorities
hubs, authorities = nx.hits(G, max_iter=100, tol=1e-08, nstart=None, normalized=True)

print('Hubs:', hubs)
print('Authorities:', authorities)
<|EOT|>
