<｜begin▁of▁sentence｜>### Instruction:
Given the Les Miserables Graph which you can read from a gml file named lesmis.gml, can you map node labels from strings to integers and output the mapping?
### Response:
import networkx as nx
from cdlib.utils import nx_node_integer_mapping

# Read the Les Miserables graph
G = nx.read_gml('lesmis.gml')

# Map node labels from strings to integers
G_mapped, mapping, _ = nx_node_integer_mapping(G)

# Output the mapping
print(mapping)
<|EOT|>
