problem 24

never again will i use a functor like p/10