How do you calculate the median from the given data?
To calculate the median from the given data, you first have to put the numbers in numerical order, which has already been done for this dataset. Once the numbers are sorted, the next step is to find the middle value. 

Since this dataset has an even number of values, there is no exact middle number. In this case, you take the two middle numbers (in this case 8 and 9) and take their average to find the median. 

8 + 9 = 17 

17/2 = 8.5 

So the median of this dataset is 8.5.
1, 2, 8, 9, 12, 13
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
How do you calculate the median from the given data?

### Input:
1, 2, 8, 9, 12, 13

### Response:
To calculate the median from the given data, you first have to put the numbers in numerical order, which has already been done for this dataset. Once the numbers are sorted, the next step is to find the middle value. 

Since this dataset has an even number of values, there is no exact middle number. In this case, you take the two middle numbers (in this case 8 and 9) and take their average to find the median. 

8 + 9 = 17 

17/2 = 8.5 

So the median of this dataset is 8.5.