Adding answer for 159 and 169 Intermediate challenges.