Comes with both cords. Powers up and works perfectly.
Please make sure this is the correct one you need before purchasing. Thanks.