solve in codeforce