def compresse(b):
cpt = 1
l = []
c = b[0]
for i in range(len(b)-1):
if b[i] == b[i+1]:
cpt+=1
else:
l.append(b[i])
l.append(cpt)
cpt = 1
l.append(b[i])
l.append(cpt)
return l
def decompresse(tab):
m = ""
for i in range(0,len(tab)-1,2):
m+=tab[i]*tab[i+1]
return m