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