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