For the Grade 5 outreach program , five school teachers gave these amounts 1000.00 pesos, 350.00 pesos , 2000.00 pesos , 400.00 pesos and 500 pesos . If 1289 pesos was spent for canned goods , how much was spent for the rice?