Create median.txt