## Problem Specification: Counting Votes
### Overview
The image presents a problem specification for a program designed to count votes from a school board election. It includes a description of the election context, input format, output requirements, and example input/output.
### Components/Axes
* **Title:** "1. Problem Specification"
* **Section:** "Specification"
* Describes the context of the school board election and the task of writing a program to count the votes.
* **Section:** "-----Input-----"
* Specifies the input format: a list of votes, one candidate name per line, ending with "***".
* Constraints: At least 2 votes, up to 100,000 valid votes.
* **Section:** "----Output----"
* Specifies the output format: the name of the candidate with a simple majority, or "Runoff!" if no candidate has a majority.
* **Section:** "-----Examples-----"
* Provides a "Sample Input" and "Sample Output" to illustrate the expected program behavior.
* **Note:** "Remember: all input/output of the program should be handled through stdin and stdout."
* **Right-Side Text:**
* "Each page starts with a specification of what the program should do."
* "Begin by carefully reading the problem specification."
### Detailed Analysis or ### Content Details
* **Election Context:** The school board elections involved contentious issues such as school start times, dress codes, and taxes for a football facility.
* **Input Format:**
* Each line contains the name of a candidate.
* Names can consist of multiple words separated by spaces.
* Words contain letters or hyphens.
* The input ends with a line containing "***".
* **Output Requirements:**
* If a candidate has a simple majority, output their name.
* If no candidate has a simple majority, output "Runoff!".
* **Sample Input:**
* Penny Franklin
* Marti Graham
* Connie Froggatt
* Joseph Ivers
* Connie Froggatt
* Penny Franklin
* Connie Froggatt
* Bruce Stanger
* Connie Froggatt
* Barbara Skinner
* Barbara Skinner
* ***
* **Sample Output:**
* Connie Froggatt
### Key Observations
* The problem specification is clearly defined with input and output requirements.
* The example input and output provide a concrete understanding of the expected program behavior.
* The note about stdin and stdout emphasizes the standard input/output handling.
### Interpretation
The problem specification outlines the task of creating a program to count votes and determine the winner of a school board election. The program must handle a list of votes, identify the candidate with a simple majority, and output either the winner's name or "Runoff!" if no candidate has a majority. The specification is designed to guide programmers in developing a solution that accurately counts votes and determines the election outcome.