In the two countries' first joint document in 17 years, the leaders agreed to work together "to advance future-oriented and mutually beneficial common interests."