Subsetting a column of a dataframe

What is the correct code to print the weight 21 to 30?

  1. BEPAS$weight [21:30]
  2. BEPAS[weight 21+30]
  3. BEPAS$weight [c(21,30)]

(Just type the number)