An Array and Medians of Subarrays (#226) - UOI