Sri Lanka Beat Pakistan by 165 in final ODI