import%20marimo%0A%0A__generated_with%20%3D%20%220.16.2%22%0Aapp%20%3D%20marimo.App(width%3D%22medium%22)%0A%0A%0A%40app.cell%0Adef%20_()%3A%0A%20%20%20%20import%20marimo%20as%20mo%0A%20%20%20%20import%20datasets%0A%20%20%20%20import%20litellm%0A%20%20%20%20import%20datetime%0A%20%20%20%20return%20datasets%2C%20datetime%2C%20litellm%2C%20mo%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%23%23%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%23%23%20LiteLLM%20%2F%20OpenAI%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(litellm)%3A%0A%20%20%20%20litellm.api_base%20%3D%20%22http%3A%2F%2F10.200.206.231%3A8000%2Fv1%22%0A%20%20%20%20litellm.api_key%20%3D%20%22dummy%22%0A%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(litellm)%3A%0A%20%20%20%20resp%20%3D%20litellm.completion(%0A%20%20%20%20%20%20%20%20%22openai%2Fqwen3%22%2C%0A%20%20%20%20%20%20%20%20messages%3D%5B%7B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%22role%22%3A%20%22user%22%2C%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%22content%22%3A%20%22Write%20a%20poem%20about%20Northeastern%22%0A%20%20%20%20%20%20%20%20%7D%5D)%0A%20%20%20%20resp.to_dict()%0A%20%20%20%20return%20(resp%2C)%0A%0A%0A%40app.cell%0Adef%20_(resp)%3A%0A%20%20%20%20print(resp.choices%5B0%5D.message.content)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(litellm)%3A%0A%20%20%20%20def%20chat_query(text)%3A%0A%20%20%20%20%20%20%20%20resp%20%3D%20litellm.completion(%0A%20%20%20%20%20%20%20%20%20%20%20%20model%3D%22openai%2Fqwen3%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20messages%3D%5B%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20text%7D%5D%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20resp.choices%5B0%5D.message.content%0A%0A%20%20%20%20print(chat_query(%22Say%20just%20hello.%22))%0A%20%20%20%20return%20(chat_query%2C)%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%23%23%20Why%20Agents%3F%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(chat_query)%3A%0A%20%20%20%20print(chat_query(%22Does%20Northeastern%20have%20a%20campus%20in%20NYC%3F%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(chat_query)%3A%0A%20%20%20%20print(chat_query(%22What%20is%207128421%20*%203937794%3F%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_()%3A%0A%20%20%20%207128421%20*%203937794%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%23%23%20Airline%20Agent%20Benchmark%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(datasets%2C%20datetime)%3A%0A%20%20%20%20flights_dataset%20%3D%20datasets.load_dataset(%0A%20%20%20%20%20%20%20%20%22nuprl%2Fengineering-llm-systems%22%2C%0A%20%20%20%20%20%20%20%20%22flights%22%2C%0A%20%20%20%20%20%20%20%20split%3D%22train%22)%0A%0A%20%20%20%20def%20parse_date_and_time(item)%3A%0A%20%20%20%20%20%20%20%20%23%20departure_time%20and%20arrival_time%20are%20in%20HH%3AMM%20format.%20Convert%20to%20time%20objects.%0A%20%20%20%20%20%20%20%20item%5B%22departure_time%22%5D%20%3D%20datetime.datetime.strptime(%0A%20%20%20%20%20%20%20%20%20%20%20%20item%5B%22departure_time%22%5D%2C%20%22%25H%3A%25M%22%0A%20%20%20%20%20%20%20%20).time()%0A%20%20%20%20%20%20%20%20item%5B%22arrival_time%22%5D%20%3D%20datetime.datetime.strptime(%0A%20%20%20%20%20%20%20%20%20%20%20%20item%5B%22arrival_time%22%5D%2C%20%22%25H%3A%25M%22%0A%20%20%20%20%20%20%20%20).time()%0A%20%20%20%20%20%20%20%20%23%20date%20is%20in%20YYYY-MM-DD%20format.%20Convert%20to%20date%20object.%0A%20%20%20%20%20%20%20%20item%5B%22date%22%5D%20%3D%20datetime.datetime.strptime(%0A%20%20%20%20%20%20%20%20%20%20%20%20item%5B%22date%22%5D%2C%20%22%25Y-%25m-%25d%22%0A%20%20%20%20%20%20%20%20).date()%0A%20%20%20%20%20%20%20%20return%20item%0A%20%20%20%20flights_dataset%20%3D%20flights_dataset.map(parse_date_and_time)%0A%0A%20%20%20%20flights_dataset.to_pandas()%0A%20%20%20%20return%20(flights_dataset%2C)%0A%0A%0A%40app.cell%0Adef%20_(flights_dataset)%3A%0A%20%20%20%20print(flights_dataset.column_names)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(datetime%2C%20flights_dataset)%3A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%20%20%20%20%20%20%20%20result%20%3D%20%5B%20%5D%0A%20%20%20%20%20%20%20%20for%20flight%20in%20flights_dataset%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20flight%5B%22origin%22%5D%20!%3D%20origin%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20continue%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20flight%5B%22destination%22%5D%20!%3D%20destination%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20continue%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20flight%5B%22date%22%5D%20!%3D%20date%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20continue%0A%20%20%20%20%20%20%20%20%20%20%20%20result.append(flight)%0A%20%20%20%20%20%20%20%20return%20result%0A%20%20%20%20return%20(find_flights%2C)%0A%0A%0A%40app.cell%0Adef%20_(datetime%2C%20find_flights)%3A%0A%20%20%20%20find_flights(%22JFK%22%2C%20%22ORD%22%2C%20datetime.date(2023%2C%202%2C%201))%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%23%23%20Prompt%20Design%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(litellm)%3A%0A%20%20%20%20EX_REQUEST%20%3D%20%22SEA%20to%20DFW%2C%20preferably%20on%20United%2C%20on%20the%2010th%20of%20July.%20Ideally%20I%20get%20there%20as%20soon%20as%20I%20can.%22%0A%0A%20%20%20%20SYSTEM_PROMPT0%20%3D%20%22%22%22%0A%20%20%20%20You%20are%20a%20flight%20agent.%20Answer%20queries%20from%20the%20user%20by%20writing%20code.%0A%20%20%20%20You%20can%20use%20this%20function.%0A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%20%20%20%20%22%22%22%0A%0A%20%20%20%20def%20flight_query(system_prompt%2C%20text)%3A%0A%20%20%20%20%20%20%20%20resp%20%3D%20litellm.completion(%0A%20%20%20%20%20%20%20%20%20%20%20%20model%3D%22openai%2Fqwen3%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22system%22%2C%20%22content%22%3A%20system_prompt%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20text%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20temperature%3D0%2C%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20resp.choices%5B0%5D.message.content%0A%0A%20%20%20%20print(flight_query(SYSTEM_PROMPT0%2C%20EX_REQUEST))%0A%20%20%20%20return%20EX_REQUEST%2C%20flight_query%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20flight_query)%3A%0A%20%20%20%20SYSTEM_PROMPT1%20%3D%20%22%22%22%0A%20%20%20%20You%20are%20a%20flight%20agent.%20Answer%20queries%20from%20the%20user%20by%20writing%20code.%0A%20%20%20%20You%20can%20use%20this%20function.%0A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%0A%20%20%20%20Don't%20implement%20it.%20I%20have%20it%20already.%0A%20%20%20%20%22%22%22%0A%0A%20%20%20%20print(flight_query(SYSTEM_PROMPT1%2C%20EX_REQUEST))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20flight_query)%3A%0A%20%20%20%20SYSTEM_PROMPT2%20%3D%20%22%22%22%0A%20%20%20%20You%20are%20a%20flight%20agent.%20Answer%20queries%20from%20the%20user%20by%20writing%20code.%0A%20%20%20%20You%20can%20use%20this%20function.%0A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%0A%20%20%20%20Don't%20implement%20it.%20I%20have%20it%20already.%20Store%20the%20result%20in%20results.%0A%20%20%20%20%22%22%22%0A%0A%20%20%20%20print(flight_query(SYSTEM_PROMPT2%2C%20EX_REQUEST))%0A%20%20%20%20return%20(SYSTEM_PROMPT2%2C)%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20SYSTEM_PROMPT2%2C%20datetime%2C%20find_flights%2C%20flight_query)%3A%0A%20%20%20%20def%20run_response(text)%3A%0A%20%20%20%20%20%20%20%20START_TEXT%20%3D%20%22%60%60%60python%5Cn%22%0A%20%20%20%20%20%20%20%20start_pos%20%3D%20text.find(START_TEXT)%0A%20%20%20%20%20%20%20%20if%20start_pos%20%3D%3D%20-1%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20None%0A%20%20%20%20%20%20%20%20end_pos%20%3D%20text.rfind(%22%5Cn%60%60%60%22)%0A%20%20%20%20%20%20%20%20code%20%3D%20text%5Bstart_pos%20%2B%20len(START_TEXT)%3Aend_pos%5D%0A%20%20%20%20%20%20%20%20the_globals%20%3D%20%7B%20%22find_flights%22%3A%20find_flights%2C%20%22datetime%22%3A%20datetime%20%7D%0A%20%20%20%20%20%20%20%20print(%22The%20code%20is%5Cn%22%2C%20code)%0A%20%20%20%20%20%20%20%20exec(code%2C%20the_globals)%0A%20%20%20%20%20%20%20%20return%20the_globals%5B%22results%22%5D%0A%0A%20%20%20%20print(run_response(flight_query(SYSTEM_PROMPT2%2C%20EX_REQUEST)))%0A%20%20%20%20return%20(run_response%2C)%0A%0A%0A%40app.cell%0Adef%20_(SYSTEM_PROMPT2%2C%20flight_query%2C%20run_response)%3A%0A%20%20%20%20def%20one_step_agent(text)%3A%0A%20%20%20%20%20%20%20%20result%20%3D%20run_response(flight_query(SYSTEM_PROMPT2%2C%20text))%0A%20%20%20%20%20%20%20%20return%20result%5B0%5D%0A%0A%20%20%20%20EX_REQUEST_2%20%3D%20%22oct%202%2C%20i%20want%20to%20go%20from%20dallas%20to%20ny%22%0A%20%20%20%20one_step_agent(EX_REQUEST_2)%0A%20%20%20%20return%20(EX_REQUEST_2%2C)%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20EX_REQUEST_2%2C%20flight_query)%3A%0A%20%20%20%20SYSTEM_PROMPT3%20%3D%20%22%22%22%0A%20%20%20%20You%20are%20a%20flight%20agent.%20Answer%20queries%20from%20the%20user%20by%20writing%20code.%0A%20%20%20%20You%20can%20use%20this%20function.%0A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%0A%20%20%20%20Don't%20implement%20it.%20I%20have%20it%20already.%20Store%20the%20result%20in%20results.%0A%20%20%20%20Origin%20and%20destination%20are%20airport%20codes.%0A%20%20%20%20%22%22%22%0A%0A%20%20%20%20print(flight_query(SYSTEM_PROMPT3%2C%20EX_REQUEST))%0A%20%20%20%20print(flight_query(SYSTEM_PROMPT3%2C%20EX_REQUEST_2))%0A%20%20%20%20return%20(SYSTEM_PROMPT3%2C)%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST_2%2C%20SYSTEM_PROMPT3%2C%20flight_query%2C%20run_response)%3A%0A%20%20%20%20def%20one_step_agent2(text)%3A%0A%20%20%20%20%20%20%20%20result%20%3D%20run_response(flight_query(SYSTEM_PROMPT3%2C%20text))%0A%20%20%20%20%20%20%20%20return%20result%5B0%5D%0A%0A%20%20%20%20print(one_step_agent2(EX_REQUEST_2))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20SYSTEM_PROMPT3%2C%20flight_query%2C%20run_response)%3A%0A%20%20%20%20def%20one_step_agent3(text)%3A%0A%20%20%20%20%20%20%20%20result%20%3D%20run_response(flight_query(SYSTEM_PROMPT3%2C%20text))%0A%20%20%20%20%20%20%20%20return%20result%0A%0A%20%20%20%20resp0%20%3D%20one_step_agent3(EX_REQUEST)%0A%20%20%20%20print(flight_query(%0A%20%20%20%20%20%20%20%20%22Format%20this%20flight%20information%20to%20present%20to%20a%20customer%22%2C%0A%20%20%20%20%20%20%20%20str(resp0)))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(EX_REQUEST%2C%20SYSTEM_PROMPT3%2C%20flight_query%2C%20run_response)%3A%0A%20%20%20%20def%20two_step_agent(text)%3A%0A%20%20%20%20%20%20%20%20result1%20%3D%20run_response(flight_query(SYSTEM_PROMPT3%2C%20text))%0A%20%20%20%20%20%20%20%20result2%20%3D%20flight_query(%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22The%20customer%20asked%3A%20%7Btext%7D.%5CnI%20found%20these%20flights%3A%20%7Bstr(result1)%7D.%20Response%20to%20the%20customer%20using%20this%20information.%22%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20result2%0A%0A%20%20%20%20print(two_step_agent(EX_REQUEST))%0A%20%20%20%20return%20(two_step_agent%2C)%0A%0A%0A%40app.cell%0Adef%20_(two_step_agent)%3A%0A%20%20%20%20print(two_step_agent(%22SEA%20to%20DFW%20on%20the%2010th%20of%20July.%20What%20are%20my%20options%3F%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(two_step_agent)%3A%0A%20%20%20%20print(two_step_agent(%22SEA%20to%20DFW%20on%20the%2010th%20of%20July.%20What%20are%20my%20options%3F%20I%20don't%20care%20about%20seat%20availability.%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(two_step_agent)%3A%0A%20%20%20%20print(two_step_agent(%22SEA%20to%20DFW%20on%20the%202nd%20January%20on%20Cathay%20Pacific.%20What%20options%3F%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(two_step_agent)%3A%0A%20%20%20%20print(two_step_agent(%22what%20is%20the%20flight%20number%20for%20the%20april%2013th%20flight%20from%20chicago%20to%20boston%20at%2010%3A16pm%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(flight_query%2C%20run_response)%3A%0A%20%20%20%20SYSTEM_PROMPT4%20%3D%20%22%22%22%0A%20%20%20%20You%20are%20a%20flight%20agent.%20Answer%20queries%20from%20the%20user%20by%20writing%20code.%0A%20%20%20%20You%20can%20use%20this%20function.%0A%0A%20%20%20%20def%20find_flights(origin%3A%20str%2C%20destination%3A%20str%2C%20date%3A%20datetime.date)%3A%0A%0A%20%20%20%20The%20output%20is%20a%20list%20with%20items%20that%20look%20like%20this%3A%0A%0A%20%20%20%20%7B%20%22id%22%3A%20int%2C%20%22date%22%3A%20datetime.date%2C%20%22airline%22%3A%20str%2C%20%22flight_number%22%3A%20str%2C%20%22origin%22%3A%20str%2C%20%22destination%22%3A%20str%2C%20%22departure_time%22%3A%20datetime.time%2C%20%22arrival_time%22%3A%20datetime.time%2C%20%22available_seats%22%3A%20number%20%7D%0A%0A%20%20%20%20Don't%20implement%20it.%20I%20have%20it%20already.%20Store%20the%20result%20in%20results.%0A%20%20%20%20Origin%20and%20destination%20are%20airport%20codes.%0A%20%20%20%20%22%22%22%0A%0A%20%20%20%20def%20two_step_agent2(text)%3A%0A%20%20%20%20%20%20%20%20result1%20%3D%20run_response(flight_query(SYSTEM_PROMPT4%2C%20text))%0A%20%20%20%20%20%20%20%20result2%20%3D%20flight_query(%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22The%20customer%20asked%3A%20%7Btext%7D.%5CnI%20found%20these%20flights%3A%20%7Bstr(result1)%7D.%20Response%20to%20the%20customer%20using%20this%20information.%22%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20result2%0A%0A%20%20%20%20print(two_step_agent2(%22I%20would%20like%20to%20book%20a%20flight%20from%20detroit%20to%20san%20francisco%20on%20Feb%2024th.%20Thanks!%22))%0A%20%20%20%20return%20SYSTEM_PROMPT4%2C%20two_step_agent2%0A%0A%0A%40app.cell%0Adef%20_(two_step_agent2)%3A%0A%20%20%20%20print(two_step_agent2(%22Can%20you%20find%20me%20a%20flight%20between%20boston%20and%20san%20francisco%20with%20a%20layover%20in%20chicago%20for%209%20hours%3F%22))%0A%20%20%20%20return%0A%0A%0A%40app.cell%0Adef%20_(SYSTEM_PROMPT4%2C%20flight_query%2C%20litellm%2C%20run_response)%3A%0A%20%20%20%20def%20flight_query2(text)%3A%0A%20%20%20%20%20%20%20%20resp%20%3D%20litellm.completion(%0A%20%20%20%20%20%20%20%20%20%20%20%20model%3D%22openai%2Fqwen3%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22system%22%2C%20%22content%22%3A%20SYSTEM_PROMPT4%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22user%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22content%22%3A%20%22SEA%20to%20DFW%20on%20the%2010th%20of%20July.%22%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22assistant%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22content%22%3A%20%22%22%22%60%60%60python%5Cnresults%20%3D%20find_flights(%22SEA%22%2C%20%22DFW%22%2C%20datetime.date(2023%2C%207%2C%2010))%5Cn%60%60%60%22%22%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20text%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20temperature%3D0%2C%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20resp.choices%5B0%5D.message.content%0A%20%20%20%20%0A%20%20%20%20def%20two_step_agent3(text)%3A%0A%20%20%20%20%20%20%20%20result1%20%3D%20run_response(flight_query2(text))%0A%20%20%20%20%20%20%20%20result2%20%3D%20flight_query(%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22The%20customer%20asked%3A%20%7Btext%7D.%5CnI%20found%20these%20flights%3A%20%7Bstr(result1)%7D.%20Response%20to%20the%20customer%20using%20this%20information.%22%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20return%20result2%0A%0A%20%20%20%20print(two_step_agent3(%22Can%20you%20find%20me%20a%20flight%20between%20boston%20and%20san%20francisco%20with%20a%20layover%20in%20chicago%20for%209%20hours%3F%22))%0A%20%20%20%20return%0A%0A%0Aif%20__name__%20%3D%3D%20%22__main__%22%3A%0A%20%20%20%20app.run()%0A
4ddb14876490e554b8e88f0b8a07f4526907cd61ee2375aa66942f5797a023a7