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