var
m: set of char;
for i:= 1 to Length(s) do Include(m,s[i]);
m:= m * ['a'..'z'];
for c:='A' to 'z' do if c in m then Write( с );
var
m: set of char;
for i:= 1 to Length(s) do Include(m,s[i]);
m:= m * ['a'..'z'];
for c:='A' to 'z' do if c in m then Write( с );