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