var
a, b, c:integer;
begin
Readln(a, b, c);
Writeln(a + b + c);
Writeln(a * b * c);
Writeln((a + b + c) / 3);
end.
var
a, b, c:integer;
begin
Readln(a, b, c);
Writeln(a + b + c);
Writeln(a * b * c);
Writeln((a + b + c) / 3);
end.