There are 7 baskets on the table. Each basket has 0, 5, 7, 8, 16, 1 and 3 apples. Liam chose first, John chose seventh, Emma chose second, Olivia chose fourth, Noah chose third, Sean chose sixth, and Matt chose fifth. How many apples did John and Sean choose in total?