ПЕРЕВЕСТИ КОД С PASCAL НА PYTHON
program zad_1;
var
m1,n1,p1,m2,p2,n2,m3,n3,p3:integer;
begin
writeln('vvedite m1,n1,p1,m2,n2,p2,m3,n3,p3');
read(m1,n1,p1,m2,n2,p2,m3,n3,p3);
if (m1+n1+p1>m2+n2+p2) and (m1+n1+p1>m3+n3+p3) then writeln(m1+n1+p1);
if (m2+n2+p2>m1+n1+p1) and (m2+n2+p2>m3+n3+p3) then wtiteln(m2+n2+p2);
if (m3+n3+p3>m1+n1+p1) and (m3+n3+p3>m2+n2+p2) then writeln(m3+n3+p3);
end.