Jack leaves the caves and runs directly north for 9 miles. He then turns and runs 12 miles east. How many miles is he from the caves?