from math import sqrt

class Point(object):
    """Two dimensional point
    """
    
    def __init__(self: "Point",
                 x: int,
                 y: int) -> None:
        """Initialize this point
        >>> p = Point(3, 4)
        """
        self.x = x
        self.y = y
        
    def distance(self: "Point") -> "float":
        """distance from origin
        >>> p = Point(3, 4)
        >>> p.distance()
        5.0
        """
        return sqrt(self.x**2 + self.y**2)
        
        
