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