All trainees in a certain aviator training program must take both a written test and a flight test. If 70 percent of the trainees passed the written test, and 80 percent of the trainees passed the flight test, what percent of the trainees passed both tests?