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