read n m NO echo ${_[m*n+1&m>1&n>1|n*m<3]-YES}