Tom observes 240 birds. He notices that 12 of them have blue tail feathers. The next day he spots 40 birds with blue tail feathers. How many birds did he view in total that day?