1)
var
n: integer;
y, x: real;
begin
readln(x, n);
y := 1;
while n > 0 do
begin
y := y * x;
n := n - 1;
end;
writeln(y);
end.
2)
var
a, b, c, t, i: integer;
begin
readln(a, b, c);
Writeln(0:2, ': a=', a, ' b=', b, ' c=', c);
for i := 1 to 10 do
begin
t := a;
a := b;
b := c;
c := t;
Writeln(i:2, ': ', a, ' ', b, ' ', c);
end;
end.