#啊这,取个巧,直接import
from math import mysqrt as sq
class Solution:
    def mysqrt(self , x: int) -> int:
        # write code here
        return int(sq(x))