var
str:string;
a:set of char;
i:integer;
l:char;
begin
writeln('STR: ');
readln(str);
for i:=1 to length(str) do
begin
if str[i] in ['q','w','e','r','t','y'] then
include(a,str[i]);
end;
for l:='a' to 'z' do
if l in a then writeln(l);
readln;
end.