5 key = "The opening setup for shogi is as follows:"
8 The opening setup for shogi is as follows:
12 +--------------------------------------------+
13 | wL | wN | wS | wG | wK | wG | wS | wN | wL | a
14 +--------------------------------------------+
15 | | wR | | | | | | wB | | b
16 +--------------------------------------------+
17 | wP | wP | wP | wP | wP | wP | wP | wP | wP | c
18 +--------------------------------------------+
20 +--------------------------------------------+
22 +--------------------------------------------+
24 +--------------------------------------------+
25 | bP | bP | bP | bP | bP | bP | bP | bP | bP | g
26 +--------------------------------------------+
27 | | bB | | | | | | bR | | h
28 +--------------------------------------------+
29 | bL | bN | bS | bG | bK | bG | bS | bN | bL | i
30 +--------------------------------------------+
35 # Insert the first figure directly into the html file.
41 line = sys.stdin.readline()
46 match = re.match(key, line)