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