n=int(input()) s=input() t=['UEC'] f=0 for c in s: if c=='c': f=1 elif f: t+=c, print(*t,sep='')