s = input() res = "" i = 0 while i < len(s): if s[i:i+3:].lower() == "gzu": i += 3 else: res += s[i] i += 1 print(res)