added solution for 49