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