import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
=new Scanner
(System.
in); double a=in.nextDouble();
double b=in.nextDouble();
double c=in.nextDouble();
double x=in.nextDouble();
double y=in.nextDouble();
if ((a<=0)||(b<=0)||(c<=0)||(x<=0)||(y<=0))
{
System.
out.
println("The task is not correct"); }
else
{
if (((a<x)&&(b<y))||((a<y)&&(b<x))||((a<x)&&(c<y))||((a<y)&&(c<x))||
((b<x)&&(c<y))||((b<y)&&(c<x)))
{
}
else
{
}
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU2Nhbm5lciBpbj1uZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWRvdWJsZSBhPWluLm5leHREb3VibGUoKTsKCQlkb3VibGUgYj1pbi5uZXh0RG91YmxlKCk7CgkJZG91YmxlIGM9aW4ubmV4dERvdWJsZSgpOwoJCWRvdWJsZSB4PWluLm5leHREb3VibGUoKTsKCQlkb3VibGUgeT1pbi5uZXh0RG91YmxlKCk7CgkKCWlmICgoYTw9MCl8fChiPD0wKXx8KGM8PTApfHwoeDw9MCl8fCh5PD0wKSkKCQl7CgkJCVN5c3RlbS5vdXQucHJpbnRsbigiVGhlIHRhc2sgaXMgbm90IGNvcnJlY3QiKTsKCQl9CgllbHNlCgkJewoJCSAgIGlmICAoKChhPHgpJiYoYjx5KSl8fCgoYTx5KSYmKGI8eCkpfHwoKGE8eCkmJihjPHkpKXx8KChhPHkpJiYoYzx4KSl8fAoJCSAgICAgICAoKGI8eCkmJihjPHkpKXx8KChiPHkpJiYoYzx4KSkpIAoJCSAgICAgICAJCXsKCQkgICAgICAgCQkJU3lzdGVtLm91dC5wcmludGxuKCJZZXMiKTsKCQkgICAgICAgCQl9CgkJICAgZWxzZQoJCSAgICAgICAgICAgIHsKCQkgICAgICAgICAgICAJU3lzdGVtLm91dC5wcmludGxuKCJObyIpOwoJCSAgICAgICAgICAgIH0KCQl9Cgl9Cn0=