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