def get_center_of_rectangle(rectangle):
    """
    Returns center of rectangle in carthesian coordinate system
    """
    return int((rectangle[0] + rectangle[2]) / 2), int((rectangle[1] +
        rectangle[3]) / 2)
