import math


def relatively_prime(a:int, b:int) -> bool:
    """
    Two numbers are relatively prime if their greatest common denominator (GCD) is 1.

    Parameters:
        a (int): first number
        b (int): second number

    Returns:
        (bool): True if the two numbers' GCD is 1, otherwise False.

    """

    return math.gcd(a,b) == 1