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