1:
\n\nuses crt;
\n\nvar a:integer;
\n\nbegin
\n\nclrscr;
\n\nwrite(\'nhap a=\'); readln(a);
\n\nif a mod 2=0 then writeln(a,\' la so chan\')
\n\nelse writeln(a,\' la so le\');
\n\nreadln;
\n\nend.
\n\n2:
\n\nuses crt;
\n\nvar a,b:integer;
\n\nbegin
\n\nclrscr;
\n\nwrite(\'a=\'); readln(a);
\n\nwrite(\'b=\'); readln(b);
\n\nif a>b then writeln(a,\' lon hon \',b)
\n\nelse if a<b then writeln(b,\' lon hon \',a)
\n\nelse writeln(b,\' bang \',a);
\n\nreadln;
\n\nend.
\n