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