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