A prize was awarded to 40 women and 678 men

A. What fraction of the prize winners were women?

B.what fraction were men?