A group of students was surveyed about their favorite vegetable. Green beans were chosen by 0.35 of the students, broccoli was chosen by 0.2 of the students, peas were chosen by 1/4 of the students, and corn was chosen by 20% of the students. Which vegetable was chosen by the greatest number of students? In your response, enter 1 for green beans, 2 for broccoli, 3 for peas, or 4 for corn.

First, let's convert all percentages and fractions to a common format so we can compare them directly. In this case, let's convert everything to decimal format:

- Green beans: 0.35
- Broccoli: 0.2 (which is the same as 20%)
- Peas: 1/4 = 0.25
- Corn: 20% = 0.2

Now, comparing these values:

- Green beans: 0.35
- Broccoli: 0.2
- Peas: 0.25
- Corn: 0.2

The greatest number comes from green beans, which is 0.35.

So the answer is: 1 (for green beans)