Is it safe to combine ibuprofen and acetaminophen for pain?

Is it safe to combine ibuprofen and acetaminophen for pain?