flatten arguments of MEDIAN
FLATTEN works just fine with arguments, no need to convert to array first