Either Garcia or Flores will take on nationalist Ollanta Humala , who took 31 percent of the vote .