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