A survey of 500 farmers showed that of the farmers, 121 grew only wheat, 113 grew only corn, 90 grew only oats, 199 grew wheat, 60 grew wheat and corn, 57 grew wheat and oats, and 182 grew corn. Determine the number of farmers who grew at least one of the three.