interval2center takes as argument an interval or a list of intervals. interval2center returns the center of this interval or the list of centers of these intervals. Input :
Output :
Input :