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