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;
// procedure R(var x,y:integer);
// begin
// y:=x+1;
// end;
begin
c:=2; d:=0; P(sqr(c)+c,d); writeln(d);
end.
cHJvZ3JhbSBpZGVvbmU7CnZhciAgYyxkOmludGVnZXI7CiAKICAgIHByb2NlZHVyZSBQKHgseTppbnRlZ2VyKTsKICAgIGJlZ2luCiAgICAgICAgeTo9eCsxOwogICAgZW5kOwogCiAgICBwcm9jZWR1cmUgUSh4OmludGVnZXI7IHZhciB5OmludGVnZXIpOwogICAgYmVnaW4KICAgICAgICB5Oj14KzE7CiAgICBlbmQ7CiAKLy8gICAgcHJvY2VkdXJlIFIodmFyIHgseTppbnRlZ2VyKTsKIC8vICAgYmVnaW4KICAvLyAgICAgIHk6PXgrMTsKICAgLy8gZW5kOwogCmJlZ2luCmM6PTI7IGQ6PTA7IFAoc3FyKGMpK2MsZCk7IHdyaXRlbG4oZCk7IAplbmQu