Yankees turn game-ending triple-play, beat A’s 2-1