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