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