Add solutions for srm589