Var a,b,c,d:integer;
beginwriteln('введите год');
readln(a);
if (a>=1730) and (a<=1914) then writeln('Санкт-Петербург');<br>if (a>=1915) and (a<=1924) then writeln('Петроград');<br>if (a>=1925) and (a<=1991) then writeln('Ленинград');<br>if (a>=1992) then writeln('Санкт-Петербург');
end.