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