Teen admits taking baby, leaving him in yard