solve 31