language: Pascal (gpc) (gpc 20070904)
date: 103 days 1 hour ago
link:
visibility: public
1
2
3
4
5
6
7
8
program eukolo(input,output);
 var  x, y : integer;
Begin
 readln(x);
 readln(y);
 if ((x*y) div 1000 <> 0) and ((x*y) div 10000 = 0) then writeln('yes')
  else writeln('no')
End.