program ideone;
var c,d:integer;
procedure P(x,y:integer);
begin
y:=x+1;
end;
procedure Q(x:integer; var y:integer);
begin
y:=x+1;
end;
begin
c:=2;
d:=0;
P(sqr(c)+c,d);
writeln(d);
end.
cHJvZ3JhbSBpZGVvbmU7CnZhciAgYyxkOmludGVnZXI7CiAKICAgIHByb2NlZHVyZSBQKHgseTppbnRlZ2VyKTsKICAgIGJlZ2luCiAgICAgICAgeTo9eCsxOwogICAgZW5kOwogCiAgICBwcm9jZWR1cmUgUSh4OmludGVnZXI7IHZhciB5OmludGVnZXIpOwogICAgYmVnaW4KICAgICAgICB5Oj14KzE7CiAgICBlbmQ7CiAKYmVnaW4KYzo9MjsgCmQ6PTA7IApQKHNxcihjKStjLGQpOyAKd3JpdGVsbihkKTsKZW5kLg==