def calc_focal_length(distance, width, pixels):
    """
    Calculates the focal length based off the input
    
    Parameters:
        distance(int): distance from camera to the object
        width(int): actual width of the object
        pixels(int): width in pixels of the object

    return: focal length of the camera based off the target object
    rtype: int
    """
    return (distance * pixels) / width