Task: Question Answering
Input (English): Ex-fighter pilot and taxi driver Ted Striker (Robert Hays) became traumatized during an unnamed war, leading to a pathological fear of flying. As a result, he is unable to hold a responsible job. His wartime girlfriend, Elaine Dickinson (Julie Hagerty), now a flight attendant, leaves him. Striker nervously boards a Boeing 707 (Trans American Flight 209) from Los Angeles to Chicago on which she is serving, hoping to win her back, but she rebuffs him. After dinner is served, many of the passengers fall ill, and fellow passenger Dr. Rumack (Leslie Nielsen) deduces that the passengers have contracted food poisoning from the fish. The cockpit crew, including pilot Clarence Oveur (Peter Graves) and co-pilot Roger Murdock (Kareem Abdul-Jabbar), have also been affected, leaving no one to fly the plane. Elaine contacts the Chicago control tower for help, and is instructed by tower supervisor Steve McCroskey (Lloyd Bridges) to activate the plane's autopilot, a large inflatable pilot doll (listed as "Otto" in the end credits), which will get them to Chicago, but will not be able to land the plane. Rumack convinces Striker to fly the plane, though Striker feels unable to handle the pressure and the unfamiliar aircraft. McCroskey knows that he must get someone else to help take the plane down and calls Rex Kramer (Robert Stack), Striker's commanding officer in the war. Despite their hostile relationship, he is the best choice to instruct Striker. As the plane nears Chicago, Striker is overcome by stress and manages to land the plane only after a pep talk from Dr. Rumack. With Kramer's advice, Striker is able to land the plane safely with only minor injuries to some passengers. Striker's courage rekindles Elaine's love for him, and the two share a kiss. "Otto" takes off in the evacuated plane after inflating a female companion. 
Question: Why does Ted decide to fight his fear of flying?
Output (English): to win back Elaine