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