import math


def almost_sqrt_factors(x):
    """Returns two integers that are close to each other and 
    multiply to a product that is close to x.

    Args:
        x: the integer to factor into a nd b
    returns:
        a, b integers
    """
    y = math.sqrt(x)
    a = math.floor(y)
    b = math.ceil(y)
    return int(a), int(b)