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