# Add or remove imports
from easyinput import read

print("=== Any output before this point is produced by your code and probably shouldn't be")
print("=== Check your main program is commented or inside an if __name__ == '__main__' condition")
print("*** Start of jutge tests ***")
# Change 'function_name' to your function name,
# and addapt the way input must be read to your needs.
a = read(int)
while a is not None:
    b, c, d = read(int), read(int), read(int)
    print(a, b, c, d, '->', do_they_intersect(a, b, c, d))
    a = read(int)
print("*** End of jutge tests ***")

