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