A scientist uses thin-layer chromatography (TLC) and melting point analysis to investigate the purity of three samples of caffeine extracted from different sources, labeled X, Y, and Z.
The scientist compares the three samples with a sample of pure caffeine. Look at the chromatogram and the melting point data below.

Melting Point Data Table:
Determine which samples (X, Y, and Z) are pure, and which samples contain caffeine. Explain your answer using both the chromatogram and melting point data.