What is the main factor that gives San José de Costa Rica its mild climate?

A) latitude

B) elevation

C) forests

D) longitude