If , use a single color. Otherwise chooseThe previous bound gives , including the case . By Markov inequality, . Sample the hyperplanes, count the monochromatic edges, and repeat if . The success probability is at least , so at most two draws are needed on average.
For a successful draw, select one endpoint of each monochromatic edge and let be the union of the selected vertices. Then . Every monochromatic edge meets , so the original colors give a proper graph colouring on the induced subgraph with vertex set . Since , the coloring of all vertices is a semicoloring. This is a random alteration method; no additional colors for are required.