Definition: You need to answer the question 'Are the given steps in order?', given a set of steps describing a process. Your answer must be either Yes or No. If the answer is No, that means the steps are out of order and do not make sense in the order they are in. If the answer is Yes, that means the steps are in order and make sense in the order that they are in. A set of steps are not in order if the steps reference information that is introduced in a later step

Positive Example 1 -
Input: ['The seeds are dispersed by wind, animals, etc', 'The seeds reach the ground', 'Grow into new trees', 'The process repeats itself over and over', 'A tree produces seeds', 'These new trees produce seeds']
Output: No

Positive Example 2 -
Input: ['The carafe is filled with water', 'The water is poured into the machine at the back', 'Coffee beans are put into a grinder', 'The grinder is activated', 'A filter is put into the coffee maker', 'The ground coffee is put into the filter', 'Sometimes a bit of salt is added to the grounds to bring out flavor', 'The top of the machine is closed', 'The power is turned on', 'The water passes through the grounds and becomes coffee.']
Output: Yes

Negative Example 1 -
Input: ['The cans are transported to a facility', 'The molds are flattened and rolled into sheets to reuse.', 'The cans are heated to 1400 degrees to melt them', 'The molten metal is poured into molds', 'The cans are shredded by a machine', 'Put the aluminum can into a recycle bin']
Output: Yes

Negative Example 2 -
Input: ['Acid rain is produced by chemicals that reach into the atmosphere', 'Falls onto the ground', 'The acid rain starts scouring rocks', 'Destroys vegetation', 'The lack of vegetation alters the surrounding environment.']
Output: No

Now complete the following example -
Input: ['Batteries are put in a flashlight', 'The flashlight is turned on', 'Two contact strips touch one another', 'A circuit is completed between the batteries and the lamp', 'The lamp in the flashlight begins to glow', 'The reflector in the flashlight directs the lamp's beam', 'A straight beam of light is generated', 'The flashlight is turned off', 'The circuit is broken', 'The beam is no longer visible.']
Output: 


Answer:   Yes