
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In the diagram, what is the perimeter of polygon $ABCDE$?
```
[asy]
import olympiad;
size(6cm);

pair a = (0, 8);
pair b = (4, 8);
pair c = (4, 4);
pair d = (7, 0);
pair e = (0, 0);

draw(a--b--c--d--e--cycle);
label("$A$", a, NW);
label("$B$", b, NE);
label("$C$", c, NE);
label("$D$", d, SE);
label("$E$", e, SW);

label("$8$", a / 2, W);
label("$4$", a + (b - a) / 2, 2 * N);
label("$7$", e / 2, S);

draw(rightanglemark(a, e, d));
draw(rightanglemark(a, b, c));
[/asy]
```

Present the answer in LaTex format: \boxed{Your answer}
user