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