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