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