def METHOD_NAME():
    new_dirs = []
    for f in os.listdir():
        num = f.split('.')[1]
        if num.isdigit():
            new_dirs.append(num)
    for d in set(new_dirs):
        os.mkdir(str(d))
    for f in os.listdir():
        if not os.path.isdir(f):
            num = f.split('.')[1]
            if num.isdigit():
                os.rename(f, os.path.join(num, f))