Add solutions to two problems of SRM 144 DIV 2