solve 31.