def max_lesson(level):
    """Return maximum lesson for a level.
    Currently I write it hard code. Ahaha.
    """
    if level == 1:
        return 25
    elif 1 < level <= 7:
        return 30
    else:
        return 0