<>;print grep(-$_&/0( 0|$)/+y/0//>3,$_=<>,y/01/10/r)?Yes:No,$/while<>