Is it safe to combine ibuprofen with acetaminophen for treating pain and fever?

Is it safe to combine ibuprofen with acetaminophen for treating pain and fever?