ChatGPT - Median sale amount calculation