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