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