// Демонстрация работы функции eof. Запускать по Shift-F9
var s: char;
begin
while not eof do
read(s);
writeln('- ',Ord(s),' -');
end;
end.