In [4]:
given = """
1. Embassy
2. Jetson's
3. Protection or safety
4. Shaquille O'Neal
5. Calf
6. Gone off on their own
7. Related to the
8. Might be used for (hyph.)
9. Covered in
10. Fill
11. Dog
12. Unwilling (in ALL OTHERS)
13. Oaxaca
14. Eighth
15. Like an Olympic
16. Crimson ____
17. Number 18
18. One who has
19. Superhero film
20. It's what karate
21. Prayer ending
22. Motherless
23. One who provides
24. Unlucky day
25. Kind of machine
26. Greek letter
27. Equipment for
28. Animal involved
29. Steady
30. They ask
31. In court
32. Or trespassing
33. Your foot
34. Variety of
35. Employee
36. Embarrassed
37. Made more
38. Streaker
39. Amusement
40. Attest to
41. Mess
42. Breaking into
43. Penguin
44. That's not chewable
45. Goodbye in
46. Efficient
47. Wander in
48. With wonder
49. Wheel that stays
50. It supports
51. A monarch's
52. Snow
53. Helper
54. Oxidization
55. Small amount of drink
56. Alaskan city
57. In the Belmont Stakes
58. Richard
59. In a gallery
60. Material that
61. Hall
62. Place of
63. Monster
64. Galactic
65. For change
66. Recuperate
67. Harbinger
68. Time of rule
69. Roundtree role
70. Cause to be
71. A specific purpose
72. Moon
73. Avatar of Vishnu
74. Athlete, typically
75. Traveler over
76. Rube
77. It's often hanging
78. Enriches the body
79. Search of adventure
80. Like steak
81. Element
82. Executive's
83. From Hell
84. Unintelligent
"""

def parse(s):
  result = []
  for line in s.split('\n'):
    if not line:
      continue
    n, clue = line.split('. ', maxsplit=1)
    n = int(n)
    result.append((n, clue))
  return result

clues = parse(given)

In [3]:
targets = [
  127, 127, 74, 85, 40, 40, 27, 28, 58, 58, 89, 62,
  36, 126,
  124, 87, 71,
  83, 83, 95, 102, 102,
  24, 123, 98, 98, 78,
  135, 65, 77,
  79, 119, 128, 13, 106, 63, 160,
  138, 136,
  146, 37, 23,
]

In [1]:
import forge
from data import warehouse
from puzzle.puzzlepedia import prod_config

prod_config.init()

In [35]:
import itertools
import re

_END = r'[^\w](\w+)$'
_BAD_ENDINGS = {'s', 'be', 'of', 'in', 'the', 'has', 'for', 'to'}

def process(clues, targets):
  bigrams = warehouse.get('/words/bigram')
  candidates = set(targets)
  results = []
  for (i1, c1), (i2, c2) in itertools.combinations(clues, 2):
    s = i1 + i2
    if s not in targets:
      continue
    best_weight = -1
    first, second = c1, c2
    for a, b in [(c1, c2), (c2, c1)]:
      b_ending = re.findall(_END, b)
      bad_start = '(' in a
      if bad_start or b_ending and b_ending[0] in _BAD_ENDINGS:
        weight = -1
      else:
        end = a.lower().split()[-1]  # Join end of first...
        start = b.lower().split()[0]  # ...with start of last.
        weight = bigrams.get('%s %s' % (end, start), 0)
      if weight > best_weight:
        best_weight = weight
        first, second = a, b
    if best_weight >= 0:
      results.append((best_weight, '%s\t%s\t%s\t%s|%s' % (s, i1, i2, first, second)))
  return sorted(results, key=lambda x: x[0], reverse=True)

In [36]:
for weight, row in process(clues, set(targets)):
  print(row)


98	27	71	Equipment for|A specific purpose
95	33	62	Place of|Your foot
78	33	45	Goodbye in|Your foot
89	18	71	One who has|A specific purpose
24	7	17	Related to the|Number 18
127	57	70	Cause to be|In the Belmont Stakes
85	28	57	Animal involved|In the Belmont Stakes
87	28	59	Animal involved|In a gallery
102	34	68	Variety of|Time of rule
146	71	75	Traveler over|A specific purpose
85	23	62	Place of|One who provides
119	59	60	Material that|In a gallery
74	9	65	Covered in|For change
77	27	50	Equipment for|It supports
63	23	40	Attest to|One who provides
126	57	69	Roundtree role|In the Belmont Stakes
128	59	69	Roundtree role|In a gallery
124	59	65	For change|In a gallery
98	33	65	For change|Your foot
119	40	79	Attest to|Search of adventure
95	45	50	Goodbye in|It supports
83	23	60	Material that|One who provides
128	60	68	Material that|Time of rule
58	27	31	Equipment for|In court
77	9	68	Covered in|Time of rule
62	7	55	Related to the|Small amount of drink
77	32	45	Goodbye in|Or trespassing
79	32	47	Wander in|Or trespassing
95	30	65	They ask|For change
71	31	40	Attest to|In court
78	21	57	Prayer ending|In the Belmont Stakes
95	47	48	Wander in|With wonder
83	24	59	Unlucky day|In a gallery
89	34	55	Variety of|Small amount of drink
65	23	42	Breaking into|One who provides
102	37	65	Made more|For change
135	65	70	Cause to be|For change
89	24	65	Unlucky day|For change
24	6	18	One who has|Gone off on their own
83	37	46	Made more|Efficient
79	7	72	Related to the|Moon
102	47	55	Wander in|Small amount of drink
65	31	34	Variety of|In court
119	57	62	Place of|In the Belmont Stakes
85	15	70	Cause to be|Like an Olympic
124	45	79	Goodbye in|Search of adventure
126	47	79	Wander in|Search of adventure
89	27	62	Place of|Equipment for
87	7	80	Related to the|Like steak
85	25	60	Material that|Kind of machine
87	31	56	Alaskan city|In court
128	45	83	Goodbye in|From Hell
77	6	71	Gone off on their own|A specific purpose
138	57	81	Element|In the Belmont Stakes
95	40	55	Attest to|Small amount of drink
77	15	62	Place of|Like an Olympic
77	18	59	One who has|In a gallery
63	30	33	They ask|Your foot
106	31	75	Traveler over|In court
37	3	34	Variety of|Protection or safety
65	3	62	Place of|Protection or safety
85	37	48	Made more|With wonder
135	57	78	Enriches the body|In the Belmont Stakes
98	23	75	Traveler over|One who provides
40	9	31	Covered in|In court
78	31	47	Wander in|In court
102	45	57	Goodbye in|In the Belmont Stakes
106	47	59	Wander in|In a gallery
62	28	34	Variety of|Animal involved
78	7	71	Related to the|A specific purpose
62	17	45	Goodbye in|Number 18
123	48	75	Traveler over|With wonder
136	65	71	For change|A specific purpose
95	27	68	Equipment for|Time of rule
77	17	60	Material that|Number 18
127	59	68	Time of rule|In a gallery
106	27	79	Equipment for|Search of adventure
126	48	78	Enriches the body|With wonder
83	18	65	One who has|For change
24	9	15	Covered in|Like an Olympic
89	9	80	Covered in|Like steak
62	15	47	Wander in|Like an Olympic
127	47	80	Wander in|Like steak
62	3	59	Protection or safety|In a gallery
74	24	50	Unlucky day|It supports
102	31	71	A specific purpose|In court
128	57	71	A specific purpose|In the Belmont Stakes
106	49	57	Wheel that stays|In the Belmont Stakes
78	19	59	Superhero film|In a gallery
95	24	71	Unlucky day|A specific purpose
127	62	65	Place of|For change
58	1	57	Embassy|In the Belmont Stakes
63	31	32	In court|Or trespassing
83	21	62	Place of|Prayer ending
138	68	70	Cause to be|Time of rule
36	7	29	Related to the|Steady
89	41	48	Mess|With wonder
74	6	68	Gone off on their own|Time of rule
83	26	57	Greek letter|In the Belmont Stakes
85	26	59	Greek letter|In a gallery
37	9	28	Covered in|Animal involved
123	40	83	Attest to|From Hell
37	6	31	Gone off on their own|In court
63	6	57	Gone off on their own|In the Belmont Stakes
65	6	59	Gone off on their own|In a gallery
79	17	62	Place of|Number 18
28	7	21	Related to the|Prayer ending
58	26	32	Greek letter|Or trespassing
95	25	70	Cause to be|Kind of machine
74	32	42	Breaking into|Or trespassing
83	31	52	Snow|In court
102	32	70	Cause to be|Or trespassing
160	77	83	It's often hanging|From Hell
136	59	77	It's often hanging|In a gallery
146	65	81	Element|For change
87	37	50	Made more|It supports
136	57	79	Search of adventure|In the Belmont Stakes
138	59	79	Search of adventure|In a gallery
126	55	71	Small amount of drink|A specific purpose
58	10	48	Fill|With wonder
77	31	46	Efficient|In court
87	27	60	Equipment for|Material that
62	27	35	Equipment for|Employee
102	19	83	Superhero film|From Hell
65	32	33	Your foot|Or trespassing
87	32	55	Small amount of drink|Or trespassing
74	26	48	Greek letter|With wonder
40	7	33	Related to the|Your foot
79	31	48	In court|With wonder
71	6	65	Gone off on their own|For change
138	55	83	Small amount of drink|From Hell
98	42	56	Alaskan city|Breaking into
36	9	27	Covered in|Equipment for
74	27	47	Wander in|Equipment for
65	25	40	Attest to|Kind of machine
83	35	48	Employee|With wonder
87	30	57	They ask|In the Belmont Stakes
89	30	59	They ask|In a gallery
127	48	79	Search of adventure|With wonder
95	35	60	Material that|Employee
58	11	47	Wander in|Dog
126	61	65	Hall|For change
63	29	34	Variety of|Steady
77	30	47	Wander in|They ask
85	6	79	Gone off on their own|Search of adventure
106	36	70	Cause to be|Embarrassed
87	42	45	Goodbye in|Breaking into
89	42	47	Wander in|Breaking into
79	27	52	Equipment for|Snow
71	11	60	Material that|Dog
98	41	57	Mess|In the Belmont Stakes
37	7	30	Related to the|They ask
71	7	64	Related to the|Galactic
119	50	69	Roundtree role|It supports
71	14	57	Eighth|In the Belmont Stakes
83	33	50	It supports|Your foot
127	56	71	Alaskan city|A specific purpose
87	25	62	Place of|Kind of machine
78	30	48	With wonder|They ask
71	34	37	Variety of|Made more
40	3	37	Made more|Protection or safety
71	15	56	Alaskan city|Like an Olympic
136	56	80	Alaskan city|Like steak
87	17	70	Cause to be|Number 18
63	3	60	Material that|Protection or safety
62	30	32	They ask|Or trespassing
13	1	12	Embassy|Unwilling (in ALL OTHERS)
23	1	22	Embassy|Motherless
24	1	23	Embassy|One who provides
27	1	26	Embassy|Greek letter
28	1	27	Embassy|Equipment for
36	1	35	Embassy|Employee
37	1	36	Embassy|Embarrassed
40	1	39	Embassy|Amusement
62	1	61	Embassy|Hall
63	1	62	Place of|Embassy
65	1	64	Embassy|Galactic
71	1	70	Cause to be|Embassy
74	1	73	Embassy|Avatar of Vishnu
77	1	76	Embassy|Rube
78	1	77	Embassy|It's often hanging
79	1	78	Embassy|Enriches the body
83	1	82	Executive's|Embassy
85	1	84	Embassy|Unintelligent
13	2	11	Jetson's|Dog
23	2	21	Jetson's|Prayer ending
24	2	22	Jetson's|Motherless
27	2	25	Jetson's|Kind of machine
28	2	26	Jetson's|Greek letter
37	2	35	Jetson's|Employee
40	2	38	Jetson's|Streaker
58	2	56	Jetson's|Alaskan city
62	2	60	Jetson's|Material that
63	2	61	Jetson's|Hall
65	2	63	Jetson's|Monster
71	2	69	Jetson's|Roundtree role
74	2	72	Jetson's|Moon
77	2	75	Jetson's|Traveler over
78	2	76	Jetson's|Rube
79	2	77	Jetson's|It's often hanging
83	2	81	Jetson's|Element
85	2	83	Jetson's|From Hell
13	3	10	Protection or safety|Fill
23	3	20	Protection or safety|It's what karate
24	3	21	Protection or safety|Prayer ending
27	3	24	Protection or safety|Unlucky day
28	3	25	Protection or safety|Kind of machine
36	3	33	Protection or safety|Your foot
58	3	55	Protection or safety|Small amount of drink
71	3	68	Protection or safety|Time of rule
74	3	71	Protection or safety|A specific purpose
77	3	74	Protection or safety|Athlete, typically
78	3	75	Protection or safety|Traveler over
79	3	76	Protection or safety|Rube
83	3	80	Protection or safety|Like steak
85	3	82	Executive's|Protection or safety
87	3	84	Protection or safety|Unintelligent
13	4	9	Covered in|Shaquille O'Neal
23	4	19	Shaquille O'Neal|Superhero film
24	4	20	Shaquille O'Neal|It's what karate
27	4	23	Shaquille O'Neal|One who provides
28	4	24	Shaquille O'Neal|Unlucky day
36	4	32	Shaquille O'Neal|Or trespassing
37	4	33	Shaquille O'Neal|Your foot
40	4	36	Shaquille O'Neal|Embarrassed
58	4	54	Shaquille O'Neal|Oxidization
62	4	58	Shaquille O'Neal|Richard
63	4	59	Shaquille O'Neal|In a gallery
65	4	61	Shaquille O'Neal|Hall
71	4	67	Shaquille O'Neal|Harbinger
74	4	70	Cause to be|Shaquille O'Neal
77	4	73	Shaquille O'Neal|Avatar of Vishnu
78	4	74	Shaquille O'Neal|Athlete, typically
79	4	75	Shaquille O'Neal|Traveler over
83	4	79	Shaquille O'Neal|Search of adventure
85	4	81	Shaquille O'Neal|Element
87	4	83	Shaquille O'Neal|From Hell
13	5	8	Calf|Might be used for (hyph.)
23	5	18	One who has|Calf
24	5	19	Calf|Superhero film
27	5	22	Calf|Motherless
28	5	23	Calf|One who provides
36	5	31	Calf|In court
37	5	32	Calf|Or trespassing
40	5	35	Calf|Employee
58	5	53	Calf|Helper
62	5	57	Calf|In the Belmont Stakes
63	5	58	Calf|Richard
65	5	60	Calf|Material that
71	5	66	Calf|Recuperate
74	5	69	Calf|Roundtree role
77	5	72	Calf|Moon
78	5	73	Calf|Avatar of Vishnu
79	5	74	Calf|Athlete, typically
83	5	78	Calf|Enriches the body
85	5	80	Calf|Like steak
87	5	82	Executive's|Calf
89	5	84	Calf|Unintelligent
13	6	7	Related to the|Gone off on their own
23	6	17	Gone off on their own|Number 18
27	6	21	Gone off on their own|Prayer ending
28	6	22	Gone off on their own|Motherless
36	6	30	Gone off on their own|They ask
40	6	34	Variety of|Gone off on their own
58	6	52	Gone off on their own|Snow
62	6	56	Gone off on their own|Alaskan city
78	6	72	Gone off on their own|Moon
79	6	73	Gone off on their own|Avatar of Vishnu
83	6	77	Gone off on their own|It's often hanging
87	6	81	Gone off on their own|Element
89	6	83	Gone off on their own|From Hell
23	7	16	Related to the|Crimson ____
27	7	20	Related to the|It's what karate
63	7	56	Related to the|Alaskan city
65	7	58	Related to the|Richard
74	7	67	Related to the|Harbinger
83	7	76	Related to the|Rube
85	7	78	Related to the|Enriches the body
23	8	15	Like an Olympic|Might be used for (hyph.)
24	8	16	Crimson ____|Might be used for (hyph.)
27	8	19	Superhero film|Might be used for (hyph.)
28	8	20	It's what karate|Might be used for (hyph.)
36	8	28	Animal involved|Might be used for (hyph.)
37	8	29	Steady|Might be used for (hyph.)
40	8	32	Or trespassing|Might be used for (hyph.)
58	8	50	It supports|Might be used for (hyph.)
62	8	54	Oxidization|Might be used for (hyph.)
63	8	55	Small amount of drink|Might be used for (hyph.)
65	8	57	In the Belmont Stakes|Might be used for (hyph.)
71	8	63	Monster|Might be used for (hyph.)
74	8	66	Recuperate|Might be used for (hyph.)
77	8	69	Roundtree role|Might be used for (hyph.)
78	8	70	Cause to be|Might be used for (hyph.)
79	8	71	A specific purpose|Might be used for (hyph.)
83	8	75	Traveler over|Might be used for (hyph.)
85	8	77	It's often hanging|Might be used for (hyph.)
87	8	79	Search of adventure|Might be used for (hyph.)
89	8	81	Element|Might be used for (hyph.)
23	9	14	Covered in|Eighth
28	9	19	Covered in|Superhero film
58	9	49	Covered in|Wheel that stays
62	9	53	Covered in|Helper
63	9	54	Covered in|Oxidization
65	9	56	Covered in|Alaskan city
78	9	69	Covered in|Roundtree role
83	9	74	Covered in|Athlete, typically
85	9	76	Covered in|Rube
87	9	78	Covered in|Enriches the body
23	10	13	Fill|Oaxaca
24	10	14	Fill|Eighth
27	10	17	Fill|Number 18
28	10	18	One who has|Fill
36	10	26	Fill|Greek letter
37	10	27	Fill|Equipment for
40	10	30	Fill|They ask
62	10	52	Fill|Snow
63	10	53	Fill|Helper
65	10	55	Fill|Small amount of drink
71	10	61	Fill|Hall
74	10	64	Fill|Galactic
77	10	67	Fill|Harbinger
78	10	68	Fill|Time of rule
79	10	69	Fill|Roundtree role
83	10	73	Fill|Avatar of Vishnu
85	10	75	Fill|Traveler over
87	10	77	Fill|It's often hanging
89	10	79	Fill|Search of adventure
23	11	12	Dog|Unwilling (in ALL OTHERS)
24	11	13	Dog|Oaxaca
27	11	16	Dog|Crimson ____
28	11	17	Dog|Number 18
36	11	25	Dog|Kind of machine
37	11	26	Dog|Greek letter
40	11	29	Dog|Steady
62	11	51	A monarch's|Dog
63	11	52	Dog|Snow
65	11	54	Dog|Oxidization
74	11	63	Dog|Monster
77	11	66	Dog|Recuperate
78	11	67	Dog|Harbinger
79	11	68	Dog|Time of rule
83	11	72	Dog|Moon
85	11	74	Dog|Athlete, typically
87	11	76	Dog|Rube
89	11	78	Dog|Enriches the body
95	11	84	Dog|Unintelligent
27	12	15	Like an Olympic|Unwilling (in ALL OTHERS)
28	12	16	Crimson ____|Unwilling (in ALL OTHERS)
36	12	24	Unlucky day|Unwilling (in ALL OTHERS)
37	12	25	Kind of machine|Unwilling (in ALL OTHERS)
40	12	28	Animal involved|Unwilling (in ALL OTHERS)
58	12	46	Efficient|Unwilling (in ALL OTHERS)
62	12	50	It supports|Unwilling (in ALL OTHERS)
63	12	51	A monarch's|Unwilling (in ALL OTHERS)
65	12	53	Helper|Unwilling (in ALL OTHERS)
71	12	59	In a gallery|Unwilling (in ALL OTHERS)
74	12	62	Place of|Unwilling (in ALL OTHERS)
77	12	65	For change|Unwilling (in ALL OTHERS)
78	12	66	Recuperate|Unwilling (in ALL OTHERS)
79	12	67	Harbinger|Unwilling (in ALL OTHERS)
83	12	71	A specific purpose|Unwilling (in ALL OTHERS)
85	12	73	Avatar of Vishnu|Unwilling (in ALL OTHERS)
87	12	75	Traveler over|Unwilling (in ALL OTHERS)
89	12	77	It's often hanging|Unwilling (in ALL OTHERS)
95	12	83	From Hell|Unwilling (in ALL OTHERS)
27	13	14	Oaxaca|Eighth
28	13	15	Oaxaca|Like an Olympic
36	13	23	Oaxaca|One who provides
37	13	24	Oaxaca|Unlucky day
40	13	27	Oaxaca|Equipment for
58	13	45	Goodbye in|Oaxaca
62	13	49	Oaxaca|Wheel that stays
63	13	50	Oaxaca|It supports
65	13	52	Oaxaca|Snow
71	13	58	Oaxaca|Richard
74	13	61	Oaxaca|Hall
77	13	64	Oaxaca|Galactic
78	13	65	Oaxaca|For change
79	13	66	Oaxaca|Recuperate
83	13	70	Cause to be|Oaxaca
85	13	72	Oaxaca|Moon
87	13	74	Oaxaca|Athlete, typically
89	13	76	Oaxaca|Rube
95	13	82	Executive's|Oaxaca
36	14	22	Eighth|Motherless
37	14	23	Eighth|One who provides
40	14	26	Eighth|Greek letter
58	14	44	Eighth|That's not chewable
62	14	48	Eighth|With wonder
63	14	49	Eighth|Wheel that stays
65	14	51	A monarch's|Eighth
74	14	60	Eighth|Material that
77	14	63	Eighth|Monster
78	14	64	Eighth|Galactic
79	14	65	Eighth|For change
83	14	69	Eighth|Roundtree role
85	14	71	Eighth|A specific purpose
87	14	73	Eighth|Avatar of Vishnu
89	14	75	Eighth|Traveler over
95	14	81	Eighth|Element
98	14	84	Eighth|Unintelligent
36	15	21	Like an Olympic|Prayer ending
37	15	22	Like an Olympic|Motherless
40	15	25	Like an Olympic|Kind of machine
58	15	43	Like an Olympic|Penguin
63	15	48	Like an Olympic|With wonder
65	15	50	Like an Olympic|It supports
74	15	59	Like an Olympic|In a gallery
78	15	63	Like an Olympic|Monster
79	15	64	Like an Olympic|Galactic
83	15	68	Like an Olympic|Time of rule
87	15	72	Like an Olympic|Moon
89	15	74	Like an Olympic|Athlete, typically
95	15	80	Like an Olympic|Like steak
98	15	83	Like an Olympic|From Hell
36	16	20	Crimson ____|It's what karate
37	16	21	Crimson ____|Prayer ending
40	16	24	Crimson ____|Unlucky day
58	16	42	Crimson ____|Breaking into
62	16	46	Crimson ____|Efficient
63	16	47	Wander in|Crimson ____
65	16	49	Crimson ____|Wheel that stays
71	16	55	Crimson ____|Small amount of drink
74	16	58	Crimson ____|Richard
77	16	61	Crimson ____|Hall
78	16	62	Place of|Crimson ____
79	16	63	Crimson ____|Monster
83	16	67	Crimson ____|Harbinger
85	16	69	Crimson ____|Roundtree role
87	16	71	Crimson ____|A specific purpose
89	16	73	Crimson ____|Avatar of Vishnu
95	16	79	Crimson ____|Search of adventure
98	16	82	Executive's|Crimson ____
36	17	19	Number 18|Superhero film
37	17	20	Number 18|It's what karate
40	17	23	Number 18|One who provides
58	17	41	Number 18|Mess
63	17	46	Number 18|Efficient
65	17	48	Number 18|With wonder
71	17	54	Number 18|Oxidization
74	17	57	Number 18|In the Belmont Stakes
78	17	61	Number 18|Hall
83	17	66	Number 18|Recuperate
85	17	68	Number 18|Time of rule
89	17	72	Number 18|Moon
95	17	78	Number 18|Enriches the body
98	17	81	Number 18|Element
37	18	19	One who has|Superhero film
40	18	22	One who has|Motherless
58	18	40	One who has|Attest to
62	18	44	One who has|That's not chewable
71	18	53	One who has|Helper
74	18	56	One who has|Alaskan city
78	18	60	One who has|Material that
79	18	61	One who has|Hall
85	18	67	One who has|Harbinger
87	18	69	One who has|Roundtree role
95	18	77	One who has|It's often hanging
98	18	80	One who has|Like steak
102	18	84	One who has|Unintelligent
40	19	21	Superhero film|Prayer ending
58	19	39	Superhero film|Amusement
62	19	43	Superhero film|Penguin
63	19	44	Superhero film|That's not chewable
65	19	46	Superhero film|Efficient
71	19	52	Superhero film|Snow
74	19	55	Superhero film|Small amount of drink
77	19	58	Superhero film|Richard
79	19	60	Superhero film|Material that
83	19	64	Superhero film|Galactic
85	19	66	Superhero film|Recuperate
87	19	68	Superhero film|Time of rule
89	19	70	Cause to be|Superhero film
95	19	76	Superhero film|Rube
98	19	79	Superhero film|Search of adventure
58	20	38	It's what karate|Streaker
62	20	42	It's what karate|Breaking into
63	20	43	It's what karate|Penguin
65	20	45	Goodbye in|It's what karate
71	20	51	A monarch's|It's what karate
74	20	54	It's what karate|Oxidization
77	20	57	It's what karate|In the Belmont Stakes
78	20	58	It's what karate|Richard
79	20	59	It's what karate|In a gallery
83	20	63	It's what karate|Monster
85	20	65	It's what karate|For change
87	20	67	It's what karate|Harbinger
89	20	69	It's what karate|Roundtree role
95	20	75	It's what karate|Traveler over
98	20	78	It's what karate|Enriches the body
102	20	82	Executive's|It's what karate
58	21	37	Prayer ending|Made more
62	21	41	Prayer ending|Mess
63	21	42	Prayer ending|Breaking into
65	21	44	Prayer ending|That's not chewable
71	21	50	Prayer ending|It supports
74	21	53	Prayer ending|Helper
77	21	56	Prayer ending|Alaskan city
79	21	58	Prayer ending|Richard
85	21	64	Prayer ending|Galactic
87	21	66	Prayer ending|Recuperate
89	21	68	Prayer ending|Time of rule
95	21	74	Prayer ending|Athlete, typically
98	21	77	Prayer ending|It's often hanging
102	21	81	Prayer ending|Element
58	22	36	Motherless|Embarrassed
62	22	40	Motherless|Attest to
63	22	41	Motherless|Mess
65	22	43	Motherless|Penguin
71	22	49	Motherless|Wheel that stays
74	22	52	Motherless|Snow
77	22	55	Motherless|Small amount of drink
78	22	56	Motherless|Alaskan city
79	22	57	Motherless|In the Belmont Stakes
83	22	61	Motherless|Hall
85	22	63	Motherless|Monster
87	22	65	Motherless|For change
89	22	67	Motherless|Harbinger
95	22	73	Motherless|Avatar of Vishnu
98	22	76	Motherless|Rube
102	22	80	Motherless|Like steak
106	22	84	Motherless|Unintelligent
58	23	35	One who provides|Employee
62	23	39	One who provides|Amusement
71	23	48	One who provides|With wonder
74	23	51	A monarch's|One who provides
77	23	54	One who provides|Oxidization
78	23	55	One who provides|Small amount of drink
79	23	56	One who provides|Alaskan city
87	23	64	One who provides|Galactic
89	23	66	One who provides|Recuperate
95	23	72	One who provides|Moon
102	23	79	One who provides|Search of adventure
106	23	83	One who provides|From Hell
58	24	34	Variety of|Unlucky day
62	24	38	Unlucky day|Streaker
63	24	39	Unlucky day|Amusement
65	24	41	Unlucky day|Mess
71	24	47	Wander in|Unlucky day
77	24	53	Unlucky day|Helper
78	24	54	Unlucky day|Oxidization
79	24	55	Unlucky day|Small amount of drink
85	24	61	Unlucky day|Hall
87	24	63	Unlucky day|Monster
98	24	74	Unlucky day|Athlete, typically
102	24	78	Unlucky day|Enriches the body
106	24	82	Executive's|Unlucky day
58	25	33	Kind of machine|Your foot
62	25	37	Kind of machine|Made more
63	25	38	Kind of machine|Streaker
71	25	46	Kind of machine|Efficient
74	25	49	Kind of machine|Wheel that stays
77	25	52	Kind of machine|Snow
78	25	53	Kind of machine|Helper
79	25	54	Kind of machine|Oxidization
83	25	58	Kind of machine|Richard
89	25	64	Kind of machine|Galactic
98	25	73	Kind of machine|Avatar of Vishnu
102	25	77	Kind of machine|It's often hanging
106	25	81	Kind of machine|Element
62	26	36	Greek letter|Embarrassed
63	26	37	Greek letter|Made more
65	26	39	Greek letter|Amusement
71	26	45	Goodbye in|Greek letter
77	26	51	A monarch's|Greek letter
78	26	52	Greek letter|Snow
79	26	53	Greek letter|Helper
87	26	61	Greek letter|Hall
89	26	63	Greek letter|Monster
95	26	69	Greek letter|Roundtree role
98	26	72	Greek letter|Moon
102	26	76	Greek letter|Rube
106	26	80	Greek letter|Like steak
63	27	36	Equipment for|Embarrassed
65	27	38	Equipment for|Streaker
71	27	44	Equipment for|That's not chewable
78	27	51	A monarch's|Equipment for
83	27	56	Equipment for|Alaskan city
85	27	58	Equipment for|Richard
102	27	75	Equipment for|Traveler over
58	28	30	Animal involved|They ask
63	28	35	Animal involved|Employee
65	28	37	Animal involved|Made more
71	28	43	Animal involved|Penguin
74	28	46	Animal involved|Efficient
77	28	49	Animal involved|Wheel that stays
78	28	50	Animal involved|It supports
79	28	51	A monarch's|Animal involved
83	28	55	Animal involved|Small amount of drink
89	28	61	Animal involved|Hall
95	28	67	Animal involved|Harbinger
98	28	70	Cause to be|Animal involved
102	28	74	Animal involved|Athlete, typically
106	28	78	Animal involved|Enriches the body
62	29	33	Steady|Your foot
65	29	36	Steady|Embarrassed
71	29	42	Steady|Breaking into
74	29	45	Goodbye in|Steady
77	29	48	Steady|With wonder
78	29	49	Steady|Wheel that stays
79	29	50	Steady|It supports
83	29	54	Steady|Oxidization
85	29	56	Steady|Alaskan city
87	29	58	Steady|Richard
89	29	60	Steady|Material that
95	29	66	Steady|Recuperate
98	29	69	Steady|Roundtree role
102	29	73	Steady|Avatar of Vishnu
106	29	77	Steady|It's often hanging
65	30	35	They ask|Employee
71	30	41	They ask|Mess
74	30	44	They ask|That's not chewable
79	30	49	They ask|Wheel that stays
83	30	53	They ask|Helper
85	30	55	They ask|Small amount of drink
98	30	68	They ask|Time of rule
102	30	72	They ask|Moon
106	30	76	They ask|Rube
74	31	43	In court|Penguin
85	31	54	In court|Oxidization
89	31	58	In court|Richard
95	31	64	In court|Galactic
98	31	67	In court|Harbinger
71	32	39	Or trespassing|Amusement
78	32	46	Or trespassing|Efficient
83	32	51	A monarch's|Or trespassing
85	32	53	Or trespassing|Helper
89	32	57	Or trespassing|In the Belmont Stakes
95	32	63	Or trespassing|Monster
98	32	66	Or trespassing|Recuperate
106	32	74	Or trespassing|Athlete, typically
71	33	38	Your foot|Streaker
74	33	41	Your foot|Mess
77	33	44	Your foot|That's not chewable
79	33	46	Your foot|Efficient
85	33	52	Your foot|Snow
87	33	54	Your foot|Oxidization
89	33	56	Your foot|Alaskan city
102	33	69	Your foot|Roundtree role
106	33	73	Your foot|Avatar of Vishnu
74	34	40	Variety of|Attest to
77	34	43	Variety of|Penguin
78	34	44	Variety of|That's not chewable
83	34	49	Variety of|Wheel that stays
87	34	53	Variety of|Helper
95	34	61	Variety of|Hall
98	34	64	Variety of|Galactic
106	34	72	Variety of|Moon
71	35	36	Employee|Embarrassed
74	35	39	Employee|Amusement
77	35	42	Employee|Breaking into
78	35	43	Employee|Penguin
79	35	44	Employee|That's not chewable
85	35	50	Employee|It supports
87	35	52	Employee|Snow
89	35	54	Employee|Oxidization
98	35	63	Employee|Monster
102	35	67	Employee|Harbinger
106	35	71	Employee|A specific purpose
119	35	84	Employee|Unintelligent
74	36	38	Embarrassed|Streaker
77	36	41	Embarrassed|Mess
78	36	42	Embarrassed|Breaking into
79	36	43	Embarrassed|Penguin
83	36	47	Wander in|Embarrassed
85	36	49	Embarrassed|Wheel that stays
87	36	51	A monarch's|Embarrassed
89	36	53	Embarrassed|Helper
95	36	59	Embarrassed|In a gallery
98	36	62	Place of|Embarrassed
102	36	66	Embarrassed|Recuperate
119	36	83	Embarrassed|From Hell
77	37	40	Made more|Attest to
78	37	41	Made more|Mess
79	37	42	Made more|Breaking into
89	37	52	Made more|Snow
95	37	58	Made more|Richard
98	37	61	Made more|Hall
106	37	69	Made more|Roundtree role
119	37	82	Executive's|Made more
77	38	39	Streaker|Amusement
78	38	40	Streaker|Attest to
79	38	41	Streaker|Mess
83	38	45	Goodbye in|Streaker
85	38	47	Wander in|Streaker
87	38	49	Streaker|Wheel that stays
89	38	51	A monarch's|Streaker
95	38	57	Streaker|In the Belmont Stakes
98	38	60	Streaker|Material that
102	38	64	Streaker|Galactic
106	38	68	Streaker|Time of rule
119	38	81	Streaker|Element
79	39	40	Amusement|Attest to
83	39	44	Amusement|That's not chewable
85	39	46	Amusement|Efficient
87	39	48	Amusement|With wonder
89	39	50	Amusement|It supports
95	39	56	Amusement|Alaskan city
98	39	59	Amusement|In a gallery
102	39	63	Amusement|Monster
106	39	67	Amusement|Harbinger
119	39	80	Amusement|Like steak
123	39	84	Amusement|Unintelligent
83	40	43	Attest to|Penguin
85	40	45	Goodbye in|Attest to
87	40	47	Wander in|Attest to
89	40	49	Attest to|Wheel that stays
98	40	58	Attest to|Richard
102	40	62	Place of|Attest to
106	40	66	Attest to|Recuperate
124	40	84	Attest to|Unintelligent
83	41	42	Mess|Breaking into
85	41	44	Mess|That's not chewable
87	41	46	Mess|Efficient
95	41	54	Mess|Oxidization
102	41	61	Mess|Hall
106	41	65	Mess|For change
119	41	78	Mess|Enriches the body
123	41	82	Executive's|Mess
124	41	83	Mess|From Hell
85	42	43	Breaking into|Penguin
95	42	53	Breaking into|Helper
102	42	60	Breaking into|Material that
106	42	64	Breaking into|Galactic
119	42	77	Breaking into|It's often hanging
123	42	81	Breaking into|Element
124	42	82	Executive's|Breaking into
126	42	84	Breaking into|Unintelligent
87	43	44	Penguin|That's not chewable
89	43	46	Penguin|Efficient
95	43	52	Penguin|Snow
98	43	55	Penguin|Small amount of drink
102	43	59	Penguin|In a gallery
106	43	63	Penguin|Monster
119	43	76	Penguin|Rube
123	43	80	Penguin|Like steak
124	43	81	Penguin|Element
126	43	83	Penguin|From Hell
127	43	84	Penguin|Unintelligent
89	44	45	Goodbye in|That's not chewable
95	44	51	A monarch's|That's not chewable
98	44	54	That's not chewable|Oxidization
102	44	58	That's not chewable|Richard
106	44	62	Place of|That's not chewable
119	44	75	That's not chewable|Traveler over
123	44	79	That's not chewable|Search of adventure
124	44	80	That's not chewable|Like steak
126	44	82	Executive's|That's not chewable
127	44	83	That's not chewable|From Hell
128	44	84	That's not chewable|Unintelligent
98	45	53	Goodbye in|Helper
106	45	61	Goodbye in|Hall
119	45	74	Goodbye in|Athlete, typically
123	45	78	Goodbye in|Enriches the body
126	45	81	Goodbye in|Element
95	46	49	Efficient|Wheel that stays
98	46	52	Efficient|Snow
102	46	56	Efficient|Alaskan city
106	46	60	Efficient|Material that
119	46	73	Efficient|Avatar of Vishnu
123	46	77	Efficient|It's often hanging
124	46	78	Efficient|Enriches the body
126	46	80	Efficient|Like steak
127	46	81	Efficient|Element
128	46	82	Executive's|Efficient
119	47	72	Wander in|Moon
123	47	76	Wander in|Rube
124	47	77	Wander in|It's often hanging
128	47	81	Wander in|Element
98	48	50	With wonder|It supports
102	48	54	With wonder|Oxidization
106	48	58	With wonder|Richard
119	48	71	With wonder|A specific purpose
124	48	76	With wonder|Rube
128	48	80	With wonder|Like steak
102	49	53	Wheel that stays|Helper
119	49	70	Cause to be|Wheel that stays
123	49	74	Wheel that stays|Athlete, typically
124	49	75	Wheel that stays|Traveler over
126	49	77	Wheel that stays|It's often hanging
127	49	78	Wheel that stays|Enriches the body
128	49	79	Wheel that stays|Search of adventure
102	50	52	It supports|Snow
106	50	56	It supports|Alaskan city
123	50	73	It supports|Avatar of Vishnu
124	50	74	It supports|Athlete, typically
126	50	76	It supports|Rube
127	50	77	It supports|It's often hanging
128	50	78	It supports|Enriches the body
106	51	55	A monarch's|Small amount of drink
119	51	68	A monarch's|Time of rule
123	51	72	A monarch's|Moon
124	51	73	A monarch's|Avatar of Vishnu
126	51	75	A monarch's|Traveler over
127	51	76	A monarch's|Rube
128	51	77	A monarch's|It's often hanging
135	51	84	A monarch's|Unintelligent
106	52	54	Snow|Oxidization
119	52	67	Snow|Harbinger
123	52	71	Snow|A specific purpose
124	52	72	Snow|Moon
126	52	74	Snow|Athlete, typically
127	52	75	Snow|Traveler over
128	52	76	Snow|Rube
135	52	83	Snow|From Hell
136	52	84	Snow|Unintelligent
119	53	66	Helper|Recuperate
123	53	70	Cause to be|Helper
124	53	71	Helper|A specific purpose
126	53	73	Helper|Avatar of Vishnu
127	53	74	Helper|Athlete, typically
128	53	75	Helper|Traveler over
135	53	82	Executive's|Helper
136	53	83	Helper|From Hell
119	54	65	Oxidization|For change
123	54	69	Oxidization|Roundtree role
124	54	70	Cause to be|Oxidization
126	54	72	Oxidization|Moon
127	54	73	Oxidization|Avatar of Vishnu
128	54	74	Oxidization|Athlete, typically
135	54	81	Oxidization|Element
136	54	82	Executive's|Oxidization
138	54	84	Oxidization|Unintelligent
119	55	64	Small amount of drink|Galactic
123	55	68	Small amount of drink|Time of rule
124	55	69	Small amount of drink|Roundtree role
127	55	72	Small amount of drink|Moon
128	55	73	Small amount of drink|Avatar of Vishnu
135	55	80	Small amount of drink|Like steak
136	55	81	Small amount of drink|Element
119	56	63	Alaskan city|Monster
123	56	67	Alaskan city|Harbinger
124	56	68	Alaskan city|Time of rule
126	56	70	Cause to be|Alaskan city
128	56	72	Alaskan city|Moon
135	56	79	Alaskan city|Search of adventure
138	56	82	Executive's|Alaskan city
123	57	66	In the Belmont Stakes|Recuperate
124	57	67	In the Belmont Stakes|Harbinger
119	58	61	Richard|Hall
123	58	65	Richard|For change
124	58	66	Richard|Recuperate
126	58	68	Richard|Time of rule
127	58	69	Richard|Roundtree role
128	58	70	Cause to be|Richard
135	58	77	Richard|It's often hanging
136	58	78	Richard|Enriches the body
138	58	80	Richard|Like steak
123	59	64	In a gallery|Galactic
126	59	67	In a gallery|Harbinger
135	59	76	In a gallery|Rube
123	60	63	Material that|Monster
124	60	64	Material that|Galactic
126	60	66	Material that|Recuperate
127	60	67	Material that|Harbinger
135	60	75	Material that|Traveler over
136	60	76	Material that|Rube
138	60	78	Material that|Enriches the body
123	61	62	Place of|Hall
124	61	63	Hall|Monster
127	61	66	Hall|Recuperate
128	61	67	Hall|Harbinger
135	61	74	Hall|Athlete, typically
136	61	75	Hall|Traveler over
138	61	77	Hall|It's often hanging
126	62	64	Place of|Galactic
128	62	66	Place of|Recuperate
135	62	73	Place of|Avatar of Vishnu
136	62	74	Place of|Athlete, typically
138	62	76	Place of|Rube
146	62	84	Place of|Unintelligent
127	63	64	Monster|Galactic
128	63	65	Monster|For change
135	63	72	Monster|Moon
136	63	73	Monster|Avatar of Vishnu
138	63	75	Monster|Traveler over
146	63	83	Monster|From Hell
135	64	71	Galactic|A specific purpose
136	64	72	Galactic|Moon
138	64	74	Galactic|Athlete, typically
146	64	82	Executive's|Galactic
138	65	73	For change|Avatar of Vishnu
135	66	69	Recuperate|Roundtree role
136	66	70	Cause to be|Recuperate
138	66	72	Recuperate|Moon
146	66	80	Recuperate|Like steak
135	67	68	Harbinger|Time of rule
136	67	69	Harbinger|Roundtree role
138	67	71	Harbinger|A specific purpose
146	67	79	Harbinger|Search of adventure
146	68	78	Time of rule|Enriches the body
146	69	77	Roundtree role|It's often hanging
146	70	76	Cause to be|Rube
146	72	74	Moon|Athlete, typically
160	76	84	Rube|Unintelligent
160	78	82	Executive's|Enriches the body
160	79	81	Search of adventure|Element

In [40]:
for clue in clues:
  print('%s\t%s' % clue)


1	Embassy
2	Jetson's
3	Protection or safety
4	Shaquille O'Neal
5	Calf
6	Gone off on their own
7	Related to the
8	Might be used for (hyph.)
9	Covered in
10	Fill
11	Dog
12	Unwilling (in ALL OTHERS)
13	Oaxaca
14	Eighth
15	Like an Olympic
16	Crimson ____
17	Number 18
18	One who has
19	Superhero film
20	It's what karate
21	Prayer ending
22	Motherless
23	One who provides
24	Unlucky day
25	Kind of machine
26	Greek letter
27	Equipment for
28	Animal involved
29	Steady
30	They ask
31	In court
32	Or trespassing
33	Your foot
34	Variety of
35	Employee
36	Embarrassed
37	Made more
38	Streaker
39	Amusement
40	Attest to
41	Mess
42	Breaking into
43	Penguin
44	That's not chewable
45	Goodbye in
46	Efficient
47	Wander in
48	With wonder
49	Wheel that stays
50	It supports
51	A monarch's
52	Snow
53	Helper
54	Oxidization
55	Small amount of drink
56	Alaskan city
57	In the Belmont Stakes
58	Richard
59	In a gallery
60	Material that
61	Hall
62	Place of
63	Monster
64	Galactic
65	For change
66	Recuperate
67	Harbinger
68	Time of rule
69	Roundtree role
70	Cause to be
71	A specific purpose
72	Moon
73	Avatar of Vishnu
74	Athlete, typically
75	Traveler over
76	Rube
77	It's often hanging
78	Enriches the body
79	Search of adventure
80	Like steak
81	Element
82	Executive's
83	From Hell
84	Unintelligent

In [45]:
print('\n'.join(map(str, sorted(targets))))


13
23
24
27
28
36
37
40
40
58
58
62
63
65
71
74
77
78
79
83
83
85
87
89
95
98
98
102
102
106
119
123
124
126
127
127
128
135
136
138
146
160

In [ ]: