var a,b,k:integer;
begin
readln(a,b);
for b:=b-1 downto a+1 do
writeln (b);
k:=k+1
end;
writeln('k=',k)
end.
while b>a+1 do
b:=b-1;
repeat
until b=a+1;
var a,b,k:integer;
begin
readln(a,b);
for b:=b-1 downto a+1 do
begin
writeln (b);
k:=k+1
end;
writeln('k=',k)
end.
var a,b,k:integer;
begin
readln(a,b);
while b>a+1 do
begin
b:=b-1;
writeln (b);
k:=k+1
end;
writeln('k=',k)
end.
var a,b,k:integer;
begin
readln(a,b);
repeat
b:=b-1;
writeln (b);
k:=k+1
until b=a+1;
writeln('k=',k)
end.