$_=<>;print$a=y/7/6/r,$_-$a