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