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