Rearrange the following sentence to create a more logical flow.
Medical professionals use X-rays to diagnose and treat conditions.
To diagnose and treat conditions, medical professionals use X-rays.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the following sentence to create a more logical flow.

### Input:
Medical professionals use X-rays to diagnose and treat conditions.

### Output:
To diagnose and treat conditions, medical professionals use X-rays.