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