added solution to 49c