print[--$/,<>=~('(.*)\s'x6),$4]->[($2x2|~$2)cmp($5x2|~$5)]