Flow Chart

Flow chart based on the provided description