Input (grade 10): The Spanish-American War began in Cuba in 1898, and reached the Philippines after the United States fought Spain in the Battle of Manila Bay.
Output (grade 10): That same year Spain and the United States fought the Spanish-American War, after which Spain gave up the Philippines to the United States for US$ 20 million.