import math


class Solution(object):
    def mySqrt(self, x):
        """
        :type x: int
        :rtype: int
        """
        return int(math.sqrt(x))


x = 4

sol = Solution()

print(sol.mySqrt(x))
