var
  outfile, ansfile: text;
  a, b: longint;
begin
  assign(outfile, paramStr(2));
  assign(ansfile, paramStr(3));
  reset(outfile);
  reset(ansfile);
  read(outfile, a);
  read(ansfile, b);
  if a = b then
    writeln(10)
  else
    writeln(0);
  close(outfile);
  close(ansfile);
end.
