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