from typing import Tuple


def aspect_ratio(width: int , height: int) -> Tuple[int, int]:
    """
    Function to calculate aspect ratio for two given values.

    Args:
        width (int): width value
        height (int): height value

    Returns:
        Tuple[int, int]: ratio of width to height
    """
    def gcd(a, b):
        return a if b == 0 else gcd(b, a % b)

    if width == height:
        return 1,1

    if width > height:
        divisor = gcd(width, height)
    else:
        divisor = gcd(height, width)

    return int(width / divisor), int(height / divisor)