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