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