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