<｜begin▁of▁sentence｜>### Instruction:
As an artificial intelligence engineer, you have been tasked with developing and implementing an algorithm using networkx to sample a subgraph from an erdos_renyi_graph with parameters n=500 and p=0.3. The sampled subgraph should contain 200 nodes. Your goal is to return the nodes present in the sampled subgraph using the RandomWalkWithJumpSampler.
### Response:
import networkx as nx
from littleballoffur import RandomWalkWithJumpSampler

G = nx.gnp_random_graph(n=500, p=0.3)

sampler = RandomWalkWithJumpSampler(200, p=0.2)

sampler_G = sampler.sample(G)

print(sampler_G.nodes)
<|EOT|>
