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