def average_three_numbers(grade1: int, grade2: int, grade3: int) -> int:
    """
    compute average of 3 input numbers
    >>> average_three_numbers(10, 20, 30)
    20
    """
    average = (grade1 + grade2 + grade3) / 3
    return int(average)