Enter your adjacency list below to calculate the genus of the graph.
Each vertex gets its own line. Each line is a list of space separated vertex numbers for the line-vertex's neighbors.