The sum of 5, 7, and a number amounts to 17. What is the number?