A farmer gathered 228 mangoes from their backyard and 542 from their farm. How many mangoes in all did he gather?​