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