New York Yankees defeat Oakland Athletics, 9-7