In the following square represents Optometrists, triangle represents Painters, circle represents Vegetarians and rectangle represents Men. Which set of letters represents Painters who are either men or vegetarians?
Out of two numbers, 30% of the smaller number is equal to 18% of the larger number. If the sum of the two numbers is 840, then what is the value of the larger number?