1.
program XandY
var x, y: real;
begin
readln (x, y);
if (x > y) then
begin
y := (a + b) div 2
x := 2*x*y;
writeln ('x = ', x, ', y = ', y)
end.
2.
program AandB
var a, b;
begin
readln (a, b);
if ((a + b) < 65) then
if (a > b) then a := a*b else b := a*b
else if (a > b) then a := 2*(a + b) else b := 2*(a + b)
end.