problem 18, god i spent so much time and it was so simple!