A chemical factory produces two kinds of unnatural amino acids: acid A and acid B. Of the acids produced by the factory last year, were acid A and the rest were acid B. If it takes as many hours to produce acid B per unit as it does to produce acid A per unit, then the number of hours it took to produce the acid B last year was what fraction of the total number of hours it took to produce all the acids?