var
i,k1,k2:integer;
a[i]:array[1..10] of integer;
begin
for i:=1 to 10 do
read(a[i]);
read(k1,k2);
for i:=k1 to k2 do
write(a[i]);
end.
var
i,k1,k2:integer;
a[i]:array[1..10] of integer;
begin
for i:=1 to 10 do
read(a[i]);
read(k1,k2);
for i:=k1 to k2 do
write(a[i]);
end.