Can somebody please help me in finding the mean from the following data set of the age of people who are more than 30 years old using r

Name. Age

A 34

B. 22

C. 67

D. 43

E. 10

I'm kind of a newbie. I used the code mean(df$age) but cant set the condition to less than 30.