template
problem 173
problem 174