<｜begin▁of▁sentence｜>### Instruction:
Given a networkx graph G with 100 nodes and 500 edges, can you use PageRankBasedSampler to sample 50 nodes based on their PageRank score and print the node list of the sampled graph?
### Response:
import networkx as nx
from littleballoffur import PageRankBasedSampler

G = nx.gnm_random_graph(100, 500)

sampler = PageRankBasedSampler(50)
sampled_G = sampler.sample(G)

print(sampled_G.nodes())
<|EOT|>
