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