var a:char;i:integer;c:array['A'..'Z']of boolean;beginfillchar(c,sizeof(c),0);//清空数组repeat
read(a);
if a='!' then break;
c[a]:=true;until false;for i:=ord('A') to ord('Z') do if c[chr(i)]=false then write(chr(i):5);end. //如果编译失败请改一改,本电脑没有Free Pascal,敬请谅解。