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