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