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