(define ncases (read))
(define (read-four-nums)
(let ((a (read)) (b (read))
(c (read)) (d (read)))
`(,a ,b ,c ,d)))
(define (show-res lst)
(if (null? lst) '()
(begin
(show-res (cdr lst))
(display (if (= 1 (car lst))
"Escape is possible."
"Box cannot be dropped."))
(newline))))
(define rslt '())
(do ((i 1 (+ i 1)))
((> i ncases) '())
(let* ((d (read-four-nums))
(a (car d)) (b (cadr d)) (x (caddr d)) (y (cadddr d)))
(set! rslt
(if (>= (* a b) (* x y))
(cons 1 rslt) (cons 0 rslt)))))
(show-res rslt)
(exit)
CihkZWZpbmUgbmNhc2VzIChyZWFkKSkKCihkZWZpbmUgKHJlYWQtZm91ci1udW1zKQogIChsZXQgKChhIChyZWFkKSkgKGIgKHJlYWQpKQogICAgICAgIChjIChyZWFkKSkgKGQgKHJlYWQpKSkKICAgIGAoLGEgLGIgLGMgLGQpKSkKCihkZWZpbmUgKHNob3ctcmVzIGxzdCkKICAoaWYgKG51bGw/IGxzdCkgJygpCiAgICAoYmVnaW4KICAgICAgKHNob3ctcmVzIChjZHIgbHN0KSkKICAgICAgKGRpc3BsYXkgKGlmICg9IDEgKGNhciBsc3QpKQogICAgICAgICAgICAgICAgICAiRXNjYXBlIGlzIHBvc3NpYmxlLiIKICAgICAgICAgICAgICAgICAgIkJveCBjYW5ub3QgYmUgZHJvcHBlZC4iKSkKICAgICAgKG5ld2xpbmUpKSkpCiAgCgooZGVmaW5lIHJzbHQgJygpKQoKKGRvICgoaSAxICgrIGkgMSkpKQogICAgKCg+IGkgbmNhc2VzKSAnKCkpCiAgIChsZXQqICgoZCAocmVhZC1mb3VyLW51bXMpKQogICAgICAgICAgKGEgKGNhciBkKSkgKGIgKGNhZHIgZCkpICh4IChjYWRkciBkKSkgKHkgKGNhZGRkciBkKSkpCiAgICAgKHNldCEgcnNsdAogICAgICAgKGlmICg+PSAoKiBhIGIpICgqIHggeSkpCiAgICAgICAgICAgKGNvbnMgMSByc2x0KSAoY29ucyAwIHJzbHQpKSkpKQoKKHNob3ctcmVzIHJzbHQpCihleGl0KQ==