Question 7
How many four-digit whole numbers contain the adjacent digit pair “17”, in that order, at least once? For example, 2017 qualifies, but 2107 does not.
**Input:** Enter the integer only, without units.
**Input:** Enter the integer only, without units.