Added Problem 17

Tricky cases