Tina collects 487 seashells and Wayne collects 345. After giving 40 seashells to Calvin, they put the remainder equally into 36 boxes. How many seashells are in each box