$/=words;say [so ($0|$3)&($2|$5)>$1|$4]