A and B together can do a piece of work in 623 days; but B alone can do it in 10 days. How long will A take to do it alone?