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