def midPoint(pointA,pointB):
    """
    Input : two points A,B.
    Output : Midpoint of these two points
    """
    
    X = int(pointA.x+pointB.x)/2
    Y = int(pointA.y+pointB.y)/2
    
    return (X,Y)