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