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