var
s:string;
i:integer;
begin
readln(s);
for i:=length(s) downto 1 do
if (Ord(s[i]) <> Ord('e')) and (Ord(s[i]) <> Ord('е')) and
(Ord(s[i]) <> Ord('E')) and (Ord(s[i]) <> Ord('Е'))
then write(s[i])
end.
var
s:string;
i:integer;
begin
readln(s);
for i:=length(s) downto 1 do
if (Ord(s[i]) <> Ord('e')) and (Ord(s[i]) <> Ord('е')) and
(Ord(s[i]) <> Ord('E')) and (Ord(s[i]) <> Ord('Е'))
then write(s[i])
end.