Is it safe to mix ibuprofen and acetaminophen for pain relief?

Is it safe to mix ibuprofen and acetaminophen for pain relief?