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