def get_first_dir(path: str) -> str:
    sep = path.find('/', 1)
    if (sep == (- 1)):
        return path
    else:
        return path[:sep]
def get_first_dir(path: str) -> str:
    sep = path.find('/', 1)
    if (sep == (- 1)):
        return path
    else:
        return path[:sep]