#%%
def copy_paste(infile):
    infilename = 'raw/'+infile
    a = open(infilename)
    x = a.readlines()
    x = x[2:]
    newname = 'clean/'+infile
    b = open(newname,'w')
    b.writelines(x)
    #%%
    for i in range(64):
        for j in range(31):
           infile = str(i+1)+'-'+str(j)+'.xyz'
           copy_paste(infile)
#%%
bd32846347ef266ba12b1e3aa90816738653f268
<mask token>

def copy_paste(infile):
    infilename = 'raw/' + infile
    a = open(infilename)
    x = a.readlines()
    x = x[2:]
    newname = 'clean/' + infile
    b = open(newname, 'w')
    b.writelines(x)
    for i in range(64):
        for j in range(31):
            infile = str(i + 1) + '-' + str(j) + '.xyz'
            copy_paste(infile)

#%%
def copy_paste(infile):
    infilename = 'raw/'+infile
    a = open(infilename)
    x = a.readlines()
    x = x[2:]
    newname = 'clean/'+infile
    b = open(newname,'w')
    b.writelines(x)
    #%%
    for i in range(64):
        for j in range(31):
           infile = str(i+1)+'-'+str(j)+'.xyz'
           copy_paste(infile)
#%%