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