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