James has a bag of marbles. There are 12 marbles in total, and 4 of them are blue. What fraction of the marbles are blue?