Usining Efficency to find Output