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