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