Find the median for the following numbers: 10, 7, 8, 12, 14, 19, 6, 4
The solution calculates median for a given set of numbers.