Rearrange the following sentences to form a meaningful paragraph:
P: The artist selected the colors.
Q: He outlined the sketch on the canvas.
R: He started painting with precision.
S: The painting turned out to be a masterpiece.