def amount_of_tweets(numLeft: int) -> int:
    """
    Determines the number of tweets the api should call
    :param numLeft: Number of tweets remained to call
    :return: number of tweets the api should call
    """
    # If the number left is greater than the max, call 200
    if numLeft >= 200:
        return 200
    # else call the number left
    else:
        return numLeft