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