Instruction: Given a question and the related document, and generate the answer to the question based on the information provided in the document.

Input:
Question: Does this come with both cables (from computer to adapter and from wall outlet to adapter)?
Document: I purchased this as a replacement for my girlfriend's laptop and wanted to ensure I was getting a quality part. This is indeed an actual HP power adapter and has charged her laptop very well ever since we got it. The cord is also plenty long and will stretch all the way from the wall outlet to the far side of the couch with no issues.
I love how you can take out the cables from both ends of the adapter! Works great! Haven't had any issues!
Adapter is small and lightweight. Because both cables disconnect from the charger, it packs more easily. Finally, the USB port will charge an iPad.
When the power adapter for my computer broke, I got this one to take its place. Worked as I expected and even had a USB por to charge other devices too. Very cool.
This charges my computer faster than the original adapter and has a USB port to charge my cellphone at the same time. Also, since there is surge protection built-in, you do not have to buy one of those mini travel size surge protectors.
Purchased this as a replacement charging cable for my wifes HP laptop. Her original cable was pinched in a door and would no longer work. This adapter is perfect. The slim size makes it easy travel with and also includes a USB slot on the adapter to charge any other devices. The adapter and included cables are approximately 7 ft long in length.
The volume of this adapter is about half the volume of the original adapter. I have an HP Elitebook 8470P which is a pretty high end model and this adapter both charges and powers the laptop. The BONUS is the built in USB port that charges my iPhone while I work. Such a great idea.Both the cable that connects this to the wall and to the laptop are detachable.I ordered a retractable three-prong cable to go with this to lighten my load even more.
The 90 watt didn't fit my laptop, so the seller exchanged the item for the 65 watt adapter and it worked. What a lifesaver!
Definitely worth the upgrade to a slimmer adapter. Even allows USB charging of other devices, perfect for my cell phone.
I was looking for the same adapter on the manufacturer's website, and this product is the same, except at a better price. It works perfectly with my HP EliteBook 8460p laptop.
Answer: Both cables are included.